]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-typeck.c
re PR c/27721 (ICE using += with a function)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Sat, 5 Aug 2006 23:26:38 +0000 (23:26 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Sat, 5 Aug 2006 23:26:38 +0000 (23:26 +0000)
commitc0bcacec2d602672e56efcd6575a629dd22a41d1
tree28b338f7d84ae55e6304ba2806ea61a21fd326da
parent85cad37c81a7c506c09cea90ff3cd4a15acacaaa
re PR c/27721 (ICE using += with a function)

PR c/27721
* c-typeck.c (build_modify_expr): Test earlier for non-lvalues.

* gcc.dg/lvalue-4.c: New test.

From-SVN: r115955
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lvalue-4.c [new file with mode: 0644]