[Bug c++/70488] [6 Regression] ICE in tree.c:7345 triggered by warning of placement new too small on VLA
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 1 12:42:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70488
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 38153
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38153&action=edit
gcc6-pr70488.patch
I think tree_fits_uhwi_p is the right test. The code uses unsigned
HOST_WIDE_INT, so doesn't need objects that fit into half of address space.
More information about the Gcc-bugs
mailing list