public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39053]  New: [4.2/4.3/4.4 regression] ICE with broken function declaration
@ 2009-02-01  9:56 reichelt at gcc dot gnu dot org
  2009-02-01  9:56 ` [Bug c++/39053] " reichelt at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-02-01  9:56 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE since GCC 4.1.1:

===============
void foo() =
===============

On the trunk I get:

bug.cc:1: internal compiler error: in cp_lexer_consume_token, at
cp/parser.c:637
Please submit a full bug report, [etc.]

Before this was only an error-recovery bug:

bug.cc:1: error: function 'void foo()' is initialized like a variable
bug.cc:1: internal compiler error: in cp_lexer_consume_token, at
cp/parser.c:638
Please submit a full bug report, [etc.]

So it's a regression of a regression ;-)


-- 
           Summary: [4.2/4.3/4.4 regression] ICE with broken function
                    declaration
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-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=39053


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

end of thread, other threads:[~2009-02-02  0:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-01  9:56 [Bug c++/39053] New: [4.2/4.3/4.4 regression] ICE with broken function declaration reichelt at gcc dot gnu dot org
2009-02-01  9:56 ` [Bug c++/39053] " reichelt at gcc dot gnu dot org
2009-02-01 10:57 ` [Bug c++/39053] [4.4 " rguenth at gcc dot gnu dot org
2009-02-01 16:22 ` paolo dot carlini at oracle dot com
2009-02-02  0:42 ` paolo at gcc dot gnu dot org
2009-02-02  0:43 ` paolo dot carlini at oracle dot com

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).