[Bug c++/65390] ICE in strip_typedefs, at cp/tree.c:1361
ktietz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 16 13:38:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65390
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
CC| |ktietz at gcc dot gnu.org
--- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> ---
This sample is undefined behavior. It will use delete on the allocated memory,
and not delete [] as it would need.
Additionally the type 'int [n]' is no valid type for template argument.
More information about the Gcc-bugs
mailing list