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
* [Bug c++/39053] [4.2/4.3/4.4 regression] ICE with broken function declaration 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 ` reichelt at gcc dot gnu dot org 2009-02-01 10:57 ` [Bug c++/39053] [4.4 " rguenth at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: reichelt at gcc dot gnu dot org @ 2009-02-01 9:56 UTC (permalink / raw) To: gcc-bugs -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39053 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/39053] [4.4 regression] ICE with broken function declaration 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 ` rguenth at gcc dot gnu dot org 2009-02-01 16:22 ` paolo dot carlini at oracle dot com ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2009-02-01 10:57 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from rguenth at gcc dot gnu dot org 2009-02-01 10:57 ------- Better split this. P2 for the trunk non-error recovery one. For the rest WONTFIX. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.4.0 Known to work| |4.1.0 4.3.3 Priority|P3 |P2 Summary|[4.2/4.3/4.4 regression] ICE|[4.4 regression] ICE with |with broken function |broken function declaration |declaration | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39053 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/39053] [4.4 regression] ICE with broken function declaration 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 4 siblings, 0 replies; 6+ messages in thread From: paolo dot carlini at oracle dot com @ 2009-02-01 16:22 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from paolo dot carlini at oracle dot com 2009-02-01 16:22 ------- On it. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org |dot com Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-02-01 16:22:24 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39053 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/39053] [4.4 regression] ICE with broken function declaration 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 ` (2 preceding siblings ...) 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 4 siblings, 0 replies; 6+ messages in thread From: paolo at gcc dot gnu dot org @ 2009-02-02 0:42 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from paolo at gcc dot gnu dot org 2009-02-02 00:42 ------- Subject: Bug 39053 Author: paolo Date: Mon Feb 2 00:41:52 2009 New Revision: 143861 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143861 Log: /cp 2009-02-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/39053 * parser.c (cp_parser_pure_specifier): If there are no tokens left do not call cp_lexer_consume_token. /testsuite 2009-02-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/39053 * g++.dg/parse/crash52.C: New. Added: trunk/gcc/testsuite/g++.dg/parse/crash52.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39053 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/39053] [4.4 regression] ICE with broken function declaration 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 ` (3 preceding siblings ...) 2009-02-02 0:42 ` paolo at gcc dot gnu dot org @ 2009-02-02 0:43 ` paolo dot carlini at oracle dot com 4 siblings, 0 replies; 6+ messages in thread From: paolo dot carlini at oracle dot com @ 2009-02-02 0:43 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from paolo dot carlini at oracle dot com 2009-02-02 00:43 ------- Fixed for 4.4.0. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED 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).