r205543 - in /trunk/gcc: c/ChangeLog c/c-typeck...
jsm28@gcc.gnu.org
jsm28@gcc.gnu.org
Fri Nov 29 21:24:00 GMT 2013
Author: jsm28
Date: Fri Nov 29 21:24:14 2013
New Revision: 205543
URL: http://gcc.gnu.org/viewcvs?rev=205543&root=gcc&view=rev
Log:
PR c/42262
c:
* c-typeck.c (process_init_element): Do not treat a string as
initializing a whole array when used with a designator for an
individual element.
testsuite:
* gcc.dg/c99-init-5.c, gcc.dg/c99-init-6.c: New tests.
Added:
trunk/gcc/testsuite/gcc.dg/c99-init-5.c
trunk/gcc/testsuite/gcc.dg/c99-init-6.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-typeck.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list