diff options
author | Martin Sebor <msebor@redhat.com> | 2016-10-04 17:34:00 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2016-10-04 11:34:00 -0600 |
commit | 8ff04ff92d9d88ca84671e36600572558216eab2 (patch) | |
tree | a87ff9b4974d1e335b3768fe1efc84675186fac6 /gcc/gimple-fold.c | |
parent | 3814e88007d6d9abfbdfd53dbcdc92fe1aed23de (diff) | |
download | gcc-8ff04ff92d9d88ca84671e36600572558216eab2.zip gcc-8ff04ff92d9d88ca84671e36600572558216eab2.tar.gz gcc-8ff04ff92d9d88ca84671e36600572558216eab2.tar.bz2 |
PR c++/77804 - Internal compiler error on incorrect initialization of new-d array
gcc/cp/ChangeLog:
PR c++/77804
* init.c (warn_placement_new_too_small): Avoid assuming an array type
has a constant size.
gcc/testsuite/ChangeLog:
PR c++/77804
* g++.dg/warn/Wplacement-new-size-4.C: New test.
From-SVN: r240754
Diffstat (limited to 'gcc/gimple-fold.c')
0 files changed, 0 insertions, 0 deletions