diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-11-29 21:24:14 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2013-11-29 21:24:14 +0000 |
commit | 340baef702ea62dfcdc8003ff9c4f4c2bd8322fb (patch) | |
tree | 7572bf13617b1296fdbc55a439078a888540dc4b /gcc/expr.c | |
parent | 3163a5cab5300b83bc261da596a2301431505909 (diff) | |
download | gcc-340baef702ea62dfcdc8003ff9c4f4c2bd8322fb.zip gcc-340baef702ea62dfcdc8003ff9c4f4c2bd8322fb.tar.gz gcc-340baef702ea62dfcdc8003ff9c4f4c2bd8322fb.tar.bz2 |
re PR c/42262 (internal compiler error: in set_designator, at c-typeck.c:5771)
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.
From-SVN: r205543
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions