aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-04-01 17:27:11 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2016-04-01 17:27:11 +0200
commit0f8754352485c6aaa6a6b85ce252585ae1eb31d7 (patch)
treec676f74751d79ea607d57b64284bf39211f533b7 /gcc/fold-const.c
parent41d146597caea6d5cab6def07a8b127de7b2099c (diff)
downloadgcc-0f8754352485c6aaa6a6b85ce252585ae1eb31d7.zip
gcc-0f8754352485c6aaa6a6b85ce252585ae1eb31d7.tar.gz
gcc-0f8754352485c6aaa6a6b85ce252585ae1eb31d7.tar.bz2
re PR c++/70488 (ICE in tree.c:7345 triggered by warning of placement new too small on VLA)
PR c++/70488 * init.c (warn_placement_new_too_small): Test whether DECL_SIZE_UNIT or TYPE_SIZE_UNIT are integers that fit into uhwi. * g++.dg/init/new47.C: New test. Co-Authored-By: Marek Polacek <polacek@redhat.com> From-SVN: r234676
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions