https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70488
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|UNCONFIRMED |NEW Known to work| |5.3.0 Keywords| |diagnostic, | |ice-on-valid-code Last reconfirmed| |2016-04-01 Ever confirmed|0 |1 Summary|ICE in tree.c:7345 |[6 Regression] ICE in |triggered by warning of |tree.c:7345 triggered by |placement new too small |warning of placement new | |too small on VLA Target Milestone|--- |6.0 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed, full testcase #include <new> struct failure_case {unsigned long s;}; void break_func(unsigned int s) { char temp_buffer[sizeof(failure_case) + s]; failure_case *f = new (temp_buffer) failure_case; };