[Bug c/58235] Missing diagnostic on assignment to array in c89

2013-12-02 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58235 --- Comment #5 from Joseph S. Myers jsm28 at gcc dot gnu.org --- Author: jsm28 Date: Tue Dec 3 02:47:13 2013 New Revision: 205615 URL: http://gcc.gnu.org/viewcvs?rev=205615root=gccview=rev Log: PR c/58235 c: * c-typeck.c

[Bug c/58235] Missing diagnostic on assignment to array in c89

2013-12-02 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58235 Joseph S. Myers jsm28 at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c/58235] Missing diagnostic on assignment to array in c89

2013-08-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58235 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- This seems correct: See also bug 461. non-lvalue arrays do not decay to pointers in C90/C89.

[Bug c/58235] Missing diagnostic on assignment to array in c89

2013-08-23 Thread olivier.gay at a3 dot epfl.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58235 --- Comment #2 from Olivier Gay olivier.gay at a3 dot epfl.ch --- Still, constraint of assignment (c90, 6.3.16) requires the left operand of assignment to be a modifiable lvalue. But c object array is not a modifiable lvalue as arrays are not

[Bug c/58235] Missing diagnostic on assignment to array in c89

2013-08-23 Thread farouk.jouti at live dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58235 farouk jouti farouk.jouti at live dot co.uk changed: What|Removed |Added CC||farouk.jouti

[Bug c/58235] Missing diagnostic on assignment to array in c89

2013-08-23 Thread farouk.jouti at live dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58235 --- Comment #4 from farouk jouti farouk.jouti at live dot co.uk --- the link contains all the necessary information about the bug (just check the comments and answers) ;)