public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28387] New: [4.2 regression] ICE with attribute on invalid declaration
@ 2006-07-14 20:30 reichelt at gcc dot gnu dot org
2006-07-14 20:30 ` [Bug c++/28387] " reichelt at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-14 20:30 UTC (permalink / raw)
To: gcc-bugs
Mainline's C++ frontend ICEs on the following code:
=======================================
enum __attribute__((unused)) E;
=======================================
bug.cc:1: error: use of enum 'E' without previous declaration
bug.cc:1: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in decl_attributes, at attribs.c:281
Please submit a full bug report, [etc.]
Posting a patch soon.
--
Summary: [4.2 regression] ICE with attribute on invalid
declaration
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: reichelt at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28387
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/28387] [4.2 regression] ICE with attribute on invalid declaration
2006-07-14 20:30 [Bug c++/28387] New: [4.2 regression] ICE with attribute on invalid declaration reichelt at gcc dot gnu dot org
@ 2006-07-14 20:30 ` reichelt at gcc dot gnu dot org
2006-07-14 20:35 ` patchapp at dberlin dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-14 20:30 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28387
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/28387] [4.2 regression] ICE with attribute on invalid declaration
2006-07-14 20:30 [Bug c++/28387] New: [4.2 regression] ICE with attribute on invalid declaration reichelt at gcc dot gnu dot org
2006-07-14 20:30 ` [Bug c++/28387] " reichelt at gcc dot gnu dot org
@ 2006-07-14 20:35 ` patchapp at dberlin dot org
2006-07-15 9:22 ` reichelt at gcc dot gnu dot org
2006-07-15 10:08 ` reichelt at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: patchapp at dberlin dot org @ 2006-07-14 20:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from patchapp at dberlin dot org 2006-07-14 20:35 -------
Subject: Bug number PR c++/28387
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00648.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28387
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/28387] [4.2 regression] ICE with attribute on invalid declaration
2006-07-14 20:30 [Bug c++/28387] New: [4.2 regression] ICE with attribute on invalid declaration reichelt at gcc dot gnu dot org
2006-07-14 20:30 ` [Bug c++/28387] " reichelt at gcc dot gnu dot org
2006-07-14 20:35 ` patchapp at dberlin dot org
@ 2006-07-15 9:22 ` reichelt at gcc dot gnu dot org
2006-07-15 10:08 ` reichelt at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-15 9:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from reichelt at gcc dot gnu dot org 2006-07-15 09:22 -------
Subject: Bug 28387
Author: reichelt
Date: Sat Jul 15 09:22:17 2006
New Revision: 115465
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115465
Log:
PR c++/28387
* decl2.c (cplus_decl_attributes): Check for invalid decls.
* g++.dg/ext/attrib24.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ext/attrib24.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28387
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/28387] [4.2 regression] ICE with attribute on invalid declaration
2006-07-14 20:30 [Bug c++/28387] New: [4.2 regression] ICE with attribute on invalid declaration reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-07-15 9:22 ` reichelt at gcc dot gnu dot org
@ 2006-07-15 10:08 ` reichelt at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-15 10:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from reichelt at gcc dot gnu dot org 2006-07-15 10:08 -------
Fixed on mainline.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28387
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-07-15 10:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-14 20:30 [Bug c++/28387] New: [4.2 regression] ICE with attribute on invalid declaration reichelt at gcc dot gnu dot org
2006-07-14 20:30 ` [Bug c++/28387] " reichelt at gcc dot gnu dot org
2006-07-14 20:35 ` patchapp at dberlin dot org
2006-07-15 9:22 ` reichelt at gcc dot gnu dot org
2006-07-15 10:08 ` reichelt at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).