[Bug c++/15050] Compiled templated code crashes on delete []
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 21 18:57:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-04-21 18:33 -------
This code is invalid. 5.3.5/2 states that the argument to delete[] shall
be a pointer that resulted from a previous array-new expression. You
violate this here.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15050
More information about the Gcc-bugs
mailing list