This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13086] [3.3/3.4 regression] no error when calling delete on incomplete type, and no location
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Nov 2003 17:44:16 -0000
- Subject: [Bug c++/13086] [3.3/3.4 regression] no error when calling delete on incomplete type, and no location
- References: <20031117165847.13086.akim@epita.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2003-11-17 17:44 -------
Confirmed. There are at least two regressions here: up to
2.95 we issued the line of the code that tried to call operator delete,
and we actually issued a hard error instead of a warning (I think
I recall that a hard error is required).
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2003-11-17 17:44:15
date| |
Summary|warning: `e' has incomplete |[3.3/3.4 regression] no
|type without location |error when calling delete on
| |incomplete type, and no
| |location
Target Milestone|--- |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13086