public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34600]  New: [4.2/4.3 regression] ICE with invalid use of extern
@ 2007-12-28  2:04 reichelt at gcc dot gnu dot org
  2007-12-28  2:07 ` [Bug c++/34600] " reichelt at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-12-28  2:04 UTC (permalink / raw)
  To: gcc-bugs

The following invalid testcase triggers an ICE since GCC 4.2.0:

====================
namespace N
{
  void foo()
  {
    extern int i = 0;
  }
}
====================

bug6.cc: In function 'void N::foo()':
bug6.cc:5: error: 'i' has both 'extern' and initializer
bug6.cc:5: internal compiler error: in start_decl, at cp/decl.c:4128
Please submit a full bug report, [etc.]


-- 
           Summary: [4.2/4.3 regression] ICE with invalid use of extern
           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=34600


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

end of thread, other threads:[~2009-04-22 15:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-28  2:04 [Bug c++/34600] New: [4.2/4.3 regression] ICE with invalid use of extern reichelt at gcc dot gnu dot org
2007-12-28  2:07 ` [Bug c++/34600] " reichelt at gcc dot gnu dot org
2007-12-28  2:08 ` reichelt at gcc dot gnu dot org
2008-02-01 17:02 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:32 ` [Bug c++/34600] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-08-14 12:26 ` paolo dot carlini at oracle dot com
2008-08-14 15:13 ` paolo at gcc dot gnu dot org
2008-08-14 15:14 ` [Bug c++/34600] [4.2/4.3 " paolo dot carlini at oracle dot com
2009-03-31 20:16 ` [Bug c++/34600] [4.3 " jsm28 at gcc dot gnu dot org
2009-04-22 15:24 ` rguenth 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).