diff options
author | Jason Merrill <jason@redhat.com> | 2017-04-03 17:15:36 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2017-04-03 17:15:36 -0400 |
commit | 5a68fae797b88216b40eb6af8c75dec6e98b983c (patch) | |
tree | 28f3a1d200fa86ca4057f09c132ba79749c015a7 /libcpp/init.c | |
parent | b0dfb235e837330a5f91ff14092aa76684fee24d (diff) | |
download | gcc-5a68fae797b88216b40eb6af8c75dec6e98b983c.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.
From-SVN: r246662
Diffstat (limited to 'libcpp/init.c')
0 files changed, 0 insertions, 0 deletions