diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-04-03 21:15:36 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-04-03 21:15:36 +0000 |
commit | c571b0c612fe865fe06eac34aa4a7edbc278b5dc (patch) | |
tree | 28f3a1d200fa86ca4057f09c132ba79749c015a7 /gcc/loop-unroll.c | |
parent | bcd9d3669829ac6111c842c8fd31fb271a67e517 (diff) | |
download | gcc-c571b0c612fe865fe06eac34aa4a7edbc278b5dc.tar.gz |
PR sanitizer/79993 - ICE with VLA initialization from string
PR c++/69487 - wrong VLA initialization from string
* init.c (finish_length_check): Split out from build_vec_init.
(build_vec_init): Handle STRING_CST.
* typeck2.c (split_nonconstant_init): Handle STRING_CST.
(digest_init_r): Don't give a STRING_CST VLA type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246662 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-unroll.c')
0 files changed, 0 insertions, 0 deletions