OSDN Git Service

In gcc/:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Aug 2000 21:31:09 +0000 (21:31 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Aug 2000 21:31:09 +0000 (21:31 +0000)
commit83f98a132217e8b2350856de72e982622f6fd267
treea558c4ca3292086cf4eb00df34bcdc9b773ca5fa
parent4a5bda5011b28de77a57f0eb44c5371181f85c00
In gcc/:
* c-typeck.c (build_array_ref): Don't complain about non-lvalue
arrays in C99.  Don't try to look at DECL_REGISTER of a
COMPONENT_REF.  Don't complain twice about the same error.

In gcc/testsuite/:
* gcc.dg/c99-array-lval-1.c: The test on line 14 now passes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35666 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c99-array-lval-1.c