This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28558] New: [4.0/4.1/4.2 regression] Trouble with new and __attribute__
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2006 21:42:19 -0000
- Subject: [Bug c++/28558] New: [4.0/4.1/4.2 regression] Trouble with new and __attribute__
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code snippet (I'm not sure whether it's valid or not)
triggers an ICE since GCC 3.1:
===============================================
struct A {};
A *p = new A __attribute__((unused));
===============================================
bug.cc:7: internal compiler error: in build_base_path, at cp/class.c:274
Please submit a full bug report, [etc.]
--
Summary: [4.0/4.1/4.2 regression] Trouble with new and
__attribute__
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28558