aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2016-01-29 09:25:14 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2016-01-29 09:25:14 +0000
commit5453bfed484b93369b42fbf8c1e7750ff3ca5f85 (patch)
treeeafb02c3b10525280e4825fa8103c05dc0a2a8a9 /libgomp
parent452ec2a5ec2e84bd6f469afb43b0928361d1710f (diff)
downloadgcc-5453bfed484b93369b42fbf8c1e7750ff3ca5f85.zip
gcc-5453bfed484b93369b42fbf8c1e7750ff3ca5f85.tar.gz
gcc-5453bfed484b93369b42fbf8c1e7750ff3ca5f85.tar.bz2
re PR c++/69509 (infinite loop compiling a VLA in a recursive constexpr function)
PR c++/69509 PR c++/69516 * constexpr.c (cxx_eval_array_reference): Give the "array subscript out of bound" error earlier. * init.c (build_vec_init): Change NE_EXPR into GT_EXPR. Update the commentary. * g++.dg/ext/constexpr-vla2.C: New test. * g++.dg/ext/constexpr-vla3.C: New test. * g++.dg/ubsan/vla-1.C: Remove dg-shouldfail. From-SVN: r232969
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions