public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/35444] New: [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration
@ 2008-03-03 21:55 reichelt at gcc dot gnu dot org
2008-03-03 21:55 ` [Bug c/35444] " 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 @ 2008-03-03 21:55 UTC (permalink / raw)
To: gcc-bugs
The following invalid code snippet triggers an ICE since GCC 4.1.0:
===========================================
void foo(int n, int a[n], int 0);
void bar() {}
===========================================
bug.c:1: error: expected ';', ',' or ')' before numeric constant
bug.c:2: internal compiler error: in put_pending_sizes, at stor-layout.c:108
Please submit a full bug report, [etc.]
--
Summary: [4.1/4.2/4.3/4.4 regression] ICE with invalid function
declaration
Product: gcc
Version: 4.4.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=35444
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35444] [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration
2008-03-03 21:55 [Bug c/35444] New: [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration reichelt at gcc dot gnu dot org
@ 2008-03-03 21:55 ` reichelt at gcc dot gnu dot org
2008-03-15 19:02 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-03-03 21:55 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35444
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35444] [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration
2008-03-03 21:55 [Bug c/35444] New: [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration reichelt at gcc dot gnu dot org
2008-03-03 21:55 ` [Bug c/35444] " reichelt at gcc dot gnu dot org
@ 2008-03-15 19:02 ` rguenth at gcc dot gnu dot org
2008-07-04 22:39 ` [Bug c/35444] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-15 19:02 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Priority|P3 |P5
Last reconfirmed|0000-00-00 00:00:00 |2008-03-15 19:01:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35444
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35444] [4.2/4.3/4.4 regression] ICE with invalid function declaration
2008-03-03 21:55 [Bug c/35444] New: [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration reichelt at gcc dot gnu dot org
2008-03-03 21:55 ` [Bug c/35444] " reichelt at gcc dot gnu dot org
2008-03-15 19:02 ` rguenth at gcc dot gnu dot org
@ 2008-07-04 22:39 ` jsm28 at gcc dot gnu dot org
2009-02-12 21:08 ` jsm28 at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jsm28 at gcc dot gnu dot org 2008-07-04 22:38 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2/4.3/4.4 regression]|[4.2/4.3/4.4 regression] ICE
|ICE with invalid function |with invalid function
|declaration |declaration
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35444
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35444] [4.2/4.3/4.4 regression] ICE with invalid function declaration
2008-03-03 21:55 [Bug c/35444] New: [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-07-04 22:39 ` [Bug c/35444] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-02-12 21:08 ` jsm28 at gcc dot gnu dot org
2009-02-13 1:01 ` jsm28 at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-02-12 21:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jsm28 at gcc dot gnu dot org 2009-02-12 21:08 -------
Testing a patch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jsm28 at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2008-03-15 19:01:29 |2009-02-12 21:08:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35444
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35444] [4.2/4.3/4.4 regression] ICE with invalid function declaration
2008-03-03 21:55 [Bug c/35444] New: [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-02-12 21:08 ` jsm28 at gcc dot gnu dot org
@ 2009-02-13 1:01 ` jsm28 at gcc dot gnu dot org
2009-02-13 13:11 ` jsm28 at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-02-13 1:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jsm28 at gcc dot gnu dot org 2009-02-13 01:00 -------
Subject: Bug 35444
Author: jsm28
Date: Fri Feb 13 01:00:24 2009
New Revision: 144149
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144149
Log:
PR c/35444
* c-parser.c (c_parser_parms_list_declarator): Discard pending
sizes on syntax error after some arguments have been parsed.
testsuite:
* gcc.dg/noncompile/pr35444-1.c, gcc.dg/noncompile/pr35444-2.c:
New tests.
Added:
trunk/gcc/testsuite/gcc.dg/noncompile/pr35444-1.c
trunk/gcc/testsuite/gcc.dg/noncompile/pr35444-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-parser.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35444
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35444] [4.2/4.3/4.4 regression] ICE with invalid function declaration
2008-03-03 21:55 [Bug c/35444] New: [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-02-13 1:01 ` jsm28 at gcc dot gnu dot org
@ 2009-02-13 13:11 ` jsm28 at gcc dot gnu dot org
2009-02-13 13:12 ` [Bug c/35444] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-31 15:24 ` jsm28 at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-02-13 13:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jsm28 at gcc dot gnu dot org 2009-02-13 13:11 -------
Subject: Bug 35444
Author: jsm28
Date: Fri Feb 13 13:10:52 2009
New Revision: 144155
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144155
Log:
PR c/35444
* c-parser.c (c_parser_parms_list_declarator): Discard pending
sizes on syntax error after some arguments have been parsed.
testsuite:
* gcc.dg/noncompile/pr35444-1.c, gcc.dg/noncompile/pr35444-2.c:
New tests.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/noncompile/pr35444-1.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/noncompile/pr35444-2.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/c-parser.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35444
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35444] [4.2 regression] ICE with invalid function declaration
2008-03-03 21:55 [Bug c/35444] New: [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2009-02-13 13:11 ` jsm28 at gcc dot gnu dot org
@ 2009-02-13 13:12 ` jsm28 at gcc dot gnu dot org
2009-03-31 15:24 ` jsm28 at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-02-13 13:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jsm28 at gcc dot gnu dot org 2009-02-13 13:12 -------
Fixed for 4.4.0 and 4.3.4. Not planning to work on a backport to 4.2.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|jsm28 at gcc dot gnu dot org|unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
Known to fail| |4.2.4 4.3.3
Known to work| |4.3.4 4.4.0
Summary|[4.2/4.3/4.4 regression] ICE|[4.2 regression] ICE with
|with invalid function |invalid function declaration
|declaration |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35444
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35444] [4.2 regression] ICE with invalid function declaration
2008-03-03 21:55 [Bug c/35444] New: [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2009-02-13 13:12 ` [Bug c/35444] [4.2 " jsm28 at gcc dot gnu dot org
@ 2009-03-31 15:24 ` jsm28 at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 15:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jsm28 at gcc dot gnu dot org 2009-03-31 15:24 -------
Closing 4.2 branch, fixed for 4.3.4 and 4.4.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail|4.2.4 4.3.3 |4.2.4 4.3.3 4.2.5
Resolution| |FIXED
Target Milestone|4.2.5 |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35444
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-03-31 15:24 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-03 21:55 [Bug c/35444] New: [4.1/4.2/4.3/4.4 regression] ICE with invalid function declaration reichelt at gcc dot gnu dot org
2008-03-03 21:55 ` [Bug c/35444] " reichelt at gcc dot gnu dot org
2008-03-15 19:02 ` rguenth at gcc dot gnu dot org
2008-07-04 22:39 ` [Bug c/35444] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-02-12 21:08 ` jsm28 at gcc dot gnu dot org
2009-02-13 1:01 ` jsm28 at gcc dot gnu dot org
2009-02-13 13:11 ` jsm28 at gcc dot gnu dot org
2009-02-13 13:12 ` [Bug c/35444] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-31 15:24 ` jsm28 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).