public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42315] New: [4.3/4.4/4.5 Regression] ICE with invalid array initializer
@ 2009-12-06 20:30 reichelt at gcc dot gnu dot org
2009-12-06 20:30 ` [Bug c++/42315] " reichelt at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-12-06 20:30 UTC (permalink / raw)
To: gcc-bugs
The following invalid code snippet triggers an ICE since GCC 4.1.2:
====================
extern int x[];
int i = x[0];
int x[] = 0;
====================
bug.cc:5:11: error: initializer fails to determine size of 'x'
bug.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
bug.cc:3:12: internal compiler error: tree check: expected array_type, have
error_mark in array_ref_low_bound, at expr.c:6205
Please submit a full bug report, [etc.]
--
Summary: [4.3/4.4/4.5 Regression] ICE with invalid array
initializer
Product: gcc
Version: 4.5.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=42315
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/42315] [4.3/4.4/4.5 Regression] ICE with invalid array initializer
2009-12-06 20:30 [Bug c++/42315] New: [4.3/4.4/4.5 Regression] ICE with invalid array initializer reichelt at gcc dot gnu dot org
@ 2009-12-06 20:30 ` reichelt at gcc dot gnu dot org
2009-12-07 11:03 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-12-06 20:30 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42315
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/42315] [4.3/4.4/4.5 Regression] ICE with invalid array initializer
2009-12-06 20:30 [Bug c++/42315] New: [4.3/4.4/4.5 Regression] ICE with invalid array initializer reichelt at gcc dot gnu dot org
2009-12-06 20:30 ` [Bug c++/42315] " reichelt at gcc dot gnu dot org
@ 2009-12-07 11:03 ` rguenth at gcc dot gnu dot org
2010-03-28 5:17 ` simartin at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-07 11:03 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42315
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/42315] [4.3/4.4/4.5 Regression] ICE with invalid array initializer
2009-12-06 20:30 [Bug c++/42315] New: [4.3/4.4/4.5 Regression] ICE with invalid array initializer reichelt at gcc dot gnu dot org
2009-12-06 20:30 ` [Bug c++/42315] " reichelt at gcc dot gnu dot org
2009-12-07 11:03 ` rguenth at gcc dot gnu dot org
@ 2010-03-28 5:17 ` simartin at gcc dot gnu dot org
2010-05-11 23:50 ` [Bug c++/42315] [4.3/4.4/4.5/4.6 " paolo dot carlini at oracle dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: simartin at gcc dot gnu dot org @ 2010-03-28 5:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from simartin at gcc dot gnu dot org 2010-03-28 05:16 -------
Confirmed. Seems to be due to:
http://gcc.gnu.org/viewcvs/trunk/gcc/toplev.c?r1=117578&r2=118362&diff_format=h
--
simartin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simartin at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-03-28 05:16:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42315
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/42315] [4.3/4.4/4.5/4.6 Regression] ICE with invalid array initializer
2009-12-06 20:30 [Bug c++/42315] New: [4.3/4.4/4.5 Regression] ICE with invalid array initializer reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2010-03-28 5:17 ` simartin at gcc dot gnu dot org
@ 2010-05-11 23:50 ` paolo dot carlini at oracle dot com
2010-05-22 18:35 ` rguenth at gcc dot gnu dot org
2010-09-21 9:59 ` paolo dot carlini at oracle dot com
5 siblings, 0 replies; 7+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-11 23:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from paolo dot carlini at oracle dot com 2010-05-11 23:50 -------
Looking into 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|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42315
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/42315] [4.3/4.4/4.5/4.6 Regression] ICE with invalid array initializer
2009-12-06 20:30 [Bug c++/42315] New: [4.3/4.4/4.5 Regression] ICE with invalid array initializer reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2010-05-11 23:50 ` [Bug c++/42315] [4.3/4.4/4.5/4.6 " paolo dot carlini at oracle dot com
@ 2010-05-22 18:35 ` rguenth at gcc dot gnu dot org
2010-09-21 9:59 ` paolo dot carlini at oracle dot com
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-05-22 18:13 -------
GCC 4.3.5 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42315
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/42315] [4.3/4.4/4.5/4.6 Regression] ICE with invalid array initializer
2009-12-06 20:30 [Bug c++/42315] New: [4.3/4.4/4.5 Regression] ICE with invalid array initializer reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2010-05-22 18:35 ` rguenth at gcc dot gnu dot org
@ 2010-09-21 9:59 ` paolo dot carlini at oracle dot com
5 siblings, 0 replies; 7+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-09-21 9:59 UTC (permalink / raw)
To: gcc-bugs
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|paolo dot carlini at oracle |unassigned at gcc dot gnu
|dot com |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42315
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-09-21 9:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-06 20:30 [Bug c++/42315] New: [4.3/4.4/4.5 Regression] ICE with invalid array initializer reichelt at gcc dot gnu dot org
2009-12-06 20:30 ` [Bug c++/42315] " reichelt at gcc dot gnu dot org
2009-12-07 11:03 ` rguenth at gcc dot gnu dot org
2010-03-28 5:17 ` simartin at gcc dot gnu dot org
2010-05-11 23:50 ` [Bug c++/42315] [4.3/4.4/4.5/4.6 " paolo dot carlini at oracle dot com
2010-05-22 18:35 ` rguenth at gcc dot gnu dot org
2010-09-21 9:59 ` 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).