public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33207]  New: [4.3 regression] ICE redeclaring namespace as struct
@ 2007-08-27 21:30 reichelt at gcc dot gnu dot org
  2007-08-27 21:30 ` [Bug c++/33207] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-08-27 21:30 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline
(it was wrongly accepted before):

====================
namespace N { }
struct N;
struct N* p;
====================

bug.cc:2: error: 'struct N' redeclared as different kind of symbol
bug.cc:1: error: previous declaration of 'namespace N { }'
bug.cc:3: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3 regression] ICE redeclaring namespace as struct
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, 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=33207


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-09-25 18:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-27 21:30 [Bug c++/33207] New: [4.3 regression] ICE redeclaring namespace as struct reichelt at gcc dot gnu dot org
2007-08-27 21:30 ` [Bug c++/33207] " reichelt at gcc dot gnu dot org
2007-08-27 21:31 ` pinskia at gcc dot gnu dot org
2007-09-01 19:57 ` pinskia at gcc dot gnu dot org
2007-09-05  2:22 ` mmitchel at gcc dot gnu dot org
2007-09-05 18:32 ` simartin at gcc dot gnu dot org
2007-09-08  5:55 ` patchapp at dberlin dot org
2007-09-25 18:34 ` simartin at gcc dot gnu dot org
2007-09-25 18:42 ` simartin 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).