public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18327] New: ICE while compiling valid c code with g++
@ 2004-11-06 23:49 gcc-bugzilla at gcc dot gnu dot org
2004-11-06 23:52 ` [Bug c++/18327] " pinskia at gcc dot gnu dot org
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2004-11-06 23:49 UTC (permalink / raw)
To: gcc-bugs
[0:38 wolf@bajzel:~/qqq/openttd-0.3.4]% g++ ai.c -c
In file included from ai.c:48:
table/ai_rail.h:36: internal compiler error: in tree_low_cst, at tree.c:3318
Please submit a full bug report,
with preprocessed source if appropriate.
Environment:
System: Linux bajzel 2.6.9 #3 Tue Oct 19 12:59:34 CEST 2004 i686 AMD_Athlon(tm)_ unknown PLD Linux
Architecture: i686
host: i686-pld-linux-gnu
build: i686-pld-linux-gnu
target: i686-pld-linux-gnu
configured with: ../configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,f77 --enable-c99 --enable-long-long --enable-multilib --enable-nls --with-gnu-as --with-gnu-ld --with-system-zlib --with-slibdir=/lib --without-x athlon-pld-linux
How-To-Repeat:
1. Download http://dl.sf.net/openttd/openttd-0.3.4.tar.bz2
2. Remove -DWITH_REV from Makefile:240
3. Add (char*) before malloc in strgen/strgen.c:419
4. make CC=g++
--
Summary: ICE while compiling valid c code with g++
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wolf at pld-linux dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pld-linux-gnu
GCC host triplet: i686-pld-linux-gnu
GCC target triplet: i686-pld-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
@ 2004-11-06 23:52 ` pinskia at gcc dot gnu dot org
2004-11-07 0:09 ` wolf at pld-linux dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-06 23:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-06 23:52 -------
Can you read http://gcc.gnu.org/bugs.html and attach the preprocessed source? Also what version of
gcc is this?
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
2004-11-06 23:52 ` [Bug c++/18327] " pinskia at gcc dot gnu dot org
@ 2004-11-07 0:09 ` wolf at pld-linux dot org
2004-11-07 0:11 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: wolf at pld-linux dot org @ 2004-11-07 0:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From wolf at pld-linux dot org 2004-11-07 00:09 -------
Created an attachment (id=7485)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7485&action=view)
Preprocessed sources
gccbug script is, as can be seen, buggy. It doesn't allow to create attachments
and loses information about gcc version.
gcc (GCC) 3.4.3 (PLD Linux)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
2004-11-06 23:52 ` [Bug c++/18327] " pinskia at gcc dot gnu dot org
2004-11-07 0:09 ` wolf at pld-linux dot org
@ 2004-11-07 0:11 ` pinskia at gcc dot gnu dot org
2004-11-07 1:56 ` [Bug c++/18327] [3.3/3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-07 0:11 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Version|unknown |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] [3.3/3.4/4.0 Regression] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-11-07 0:11 ` pinskia at gcc dot gnu dot org
@ 2004-11-07 1:56 ` pinskia at gcc dot gnu dot org
2004-11-07 8:56 ` giovannibajo at libero dot it
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-07 1:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-07 01:56 -------
Confirmed, reduced testcase:
typedef struct {
unsigned char dir;
int data[];
} AiDefaultRailBlock;
static const AiDefaultRailBlock _raildata_ai_0 = { 1, { 0, 4 } };
: Search converges between 2004-09-21-004002-3.4 (#77) and 2004-09-22-004001-3.4 (#78).
: Search converges between 2004-09-20-161001-trunk (#551) and 2004-09-21-094824-trunk
(#552).
: Search converges between 2004-09-20-064502-3.3 (#296) and 2004-09-27-064501-3.3 (#297).
The only thing which went in all three branches around this time was:
2004-09-20 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14179
* decl.c (reshape_init): Extract array handling into...
(reshape_init_array): New function. Use integers instead of trees
for indices. Handle out-of-range designated initializers.
Also that did change how initialization was done.
(This is valid C but is/should it be valid C++)
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo at gcc dot gnu
| |dot org, gdr at gcc dot gnu
| |dot org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |3.4.3 4.0.0
Known to work| |3.4.0
Last reconfirmed|0000-00-00 00:00:00 |2004-11-07 01:56:23
date| |
Summary|ICE while compiling valid c |[3.3/3.4/4.0 Regression] ICE
|code with g++ |while compiling valid c code
| |with g++
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] [3.3/3.4/4.0 Regression] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-11-07 1:56 ` [Bug c++/18327] [3.3/3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-11-07 8:56 ` giovannibajo at libero dot it
2004-11-18 12:14 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2004-11-07 8:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-11-07 08:56 -------
Hum
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |giovannibajo at libero dot
|dot org |it
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] [3.3/3.4/4.0 Regression] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-11-07 8:56 ` giovannibajo at libero dot it
@ 2004-11-18 12:14 ` pinskia at gcc dot gnu dot org
2004-12-10 16:09 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-18 12:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:14 -------
*** Bug 18538 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |thomas-dloop at kuehne dot
| |cn
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] [3.3/3.4/4.0 Regression] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-11-18 12:14 ` pinskia at gcc dot gnu dot org
@ 2004-12-10 16:09 ` pinskia at gcc dot gnu dot org
2005-01-23 20:35 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-10 16:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-10 16:08 -------
*** Bug 18926 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |arturcz at hell dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] [3.3/3.4/4.0 Regression] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-12-10 16:09 ` pinskia at gcc dot gnu dot org
@ 2005-01-23 20:35 ` pinskia at gcc dot gnu dot org
2005-02-15 21:03 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-23 20:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 20:35 -------
*** Bug 19594 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |hans dot buchmann at fhso
| |dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] [3.3/3.4/4.0 Regression] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-01-23 20:35 ` pinskia at gcc dot gnu dot org
@ 2005-02-15 21:03 ` pinskia at gcc dot gnu dot org
2005-02-15 23:36 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-15 21:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-15 13:29 -------
*** Bug 19973 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rganesan at cisco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] [3.3/3.4/4.0 Regression] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
` (8 preceding siblings ...)
2005-02-15 21:03 ` pinskia at gcc dot gnu dot org
@ 2005-02-15 23:36 ` pinskia at gcc dot gnu dot org
2005-03-10 15:13 ` [Bug c++/18327] [3.3 " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-15 23:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-15 20:51 -------
*** Bug 19981 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ggaspa at rms dot ind dot br
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] [3.3 Regression] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
` (9 preceding siblings ...)
2005-02-15 23:36 ` pinskia at gcc dot gnu dot org
@ 2005-03-10 15:13 ` pinskia at gcc dot gnu dot org
2005-04-30 13:26 ` gdr at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-10 15:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-10 15:12 -------
The ICE has been fixed on the mainline, 3.4 and 4.0 branches but we still have a rejects valid, which I
filed as PR 20407.
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |20407
nThis| |
Summary|[3.3/3.4/4.0/4.1 Regression]|[3.3 Regression] ICE while
|ICE while compiling valid c |compiling valid c code with
|code with g++ |g++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] [3.3 Regression] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
` (10 preceding siblings ...)
2005-03-10 15:13 ` [Bug c++/18327] [3.3 " pinskia at gcc dot gnu dot org
@ 2005-04-30 13:26 ` gdr at gcc dot gnu dot org
2005-05-19 17:33 ` mmitchel at gcc dot gnu dot org
2005-05-22 21:00 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-04-30 13:26 UTC (permalink / raw)
To: gcc-bugs
--
Bug 18327 depends on bug 18384, which changed state.
Bug 18384 Summary: [3.3 Regression] ICE on zero-length array with empty initializer...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18384
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] [3.3 Regression] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
` (11 preceding siblings ...)
2005-04-30 13:26 ` gdr at gcc dot gnu dot org
@ 2005-05-19 17:33 ` mmitchel at gcc dot gnu dot org
2005-05-22 21:00 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:33 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.4 |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/18327] [3.3 Regression] ICE while compiling valid c code with g++
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
` (12 preceding siblings ...)
2005-05-19 17:33 ` mmitchel at gcc dot gnu dot org
@ 2005-05-22 21:00 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-22 21:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-22 20:59 -------
Fixed for 3.4.4 so closing as such.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|3.4.5 |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2005-05-22 21:00 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-06 23:49 [Bug c++/18327] New: ICE while compiling valid c code with g++ gcc-bugzilla at gcc dot gnu dot org
2004-11-06 23:52 ` [Bug c++/18327] " pinskia at gcc dot gnu dot org
2004-11-07 0:09 ` wolf at pld-linux dot org
2004-11-07 0:11 ` pinskia at gcc dot gnu dot org
2004-11-07 1:56 ` [Bug c++/18327] [3.3/3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-07 8:56 ` giovannibajo at libero dot it
2004-11-18 12:14 ` pinskia at gcc dot gnu dot org
2004-12-10 16:09 ` pinskia at gcc dot gnu dot org
2005-01-23 20:35 ` pinskia at gcc dot gnu dot org
2005-02-15 21:03 ` pinskia at gcc dot gnu dot org
2005-02-15 23:36 ` pinskia at gcc dot gnu dot org
2005-03-10 15:13 ` [Bug c++/18327] [3.3 " pinskia at gcc dot gnu dot org
2005-04-30 13:26 ` gdr at gcc dot gnu dot org
2005-05-19 17:33 ` mmitchel at gcc dot gnu dot org
2005-05-22 21:00 ` pinskia 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).