public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one)
@ 2004-09-22 23:08 steven at gcc dot gnu dot org
2004-09-22 23:09 ` [Bug tree-optimization/17624] " steven at gcc dot gnu dot org
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-09-22 23:08 UTC (permalink / raw)
To: gcc-bugs
$ ./cc1plus --version
GNU C++ version 4.0.0 20040922 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.0.0 20040922 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
$ ./cc1plus -w -quiet t.cc -O
Conflict chunks_41 and chunks_45 across an abnormal edge from BB37->BB41
t.cc: In member function `DJVU::GUTF8String
DJVU::DjVuFile::get_chunk_name(int)':
t.cc:15232: internal compiler error: SSA corruption
--
Summary: [4.0 Regression] ICE: SSA corruption (another one)
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: steven at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
2004-09-22 23:09 ` [Bug tree-optimization/17624] " steven at gcc dot gnu dot org
@ 2004-09-22 23:09 ` steven at gcc dot gnu dot org
2004-09-22 23:29 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-09-22 23:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-09-22 23:09 -------
Created an attachment (id=7199)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7199&action=view)
Test case for this bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
@ 2004-09-22 23:09 ` steven at gcc dot gnu dot org
2004-09-22 23:09 ` steven at gcc dot gnu dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-09-22 23:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-09-22 23:09 -------
Looks like another one for Andrew MacLeod.
I'm keeping him busy with these ICEs :-)
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |amacleod at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
2004-09-22 23:09 ` [Bug tree-optimization/17624] " steven at gcc dot gnu dot org
2004-09-22 23:09 ` steven at gcc dot gnu dot org
@ 2004-09-22 23:29 ` pinskia at gcc dot gnu dot org
2004-09-22 23:37 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-22 23:29 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-09-22 23:29 ` pinskia at gcc dot gnu dot org
@ 2004-09-22 23:37 ` pinskia at gcc dot gnu dot org
2004-09-22 23:39 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-22 23:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-22 23:37 -------
Here is a reduced testcase:
int get_chunk(int);
int chunks_number;
void seek_close_chunk(void);
int recover_errors;
#define SKIP_CHUNKS 1
void
get_chunk_name(int chunk_num)
{
int chkid;
int chunks=0;
int last_chunk=0;
try
{
int chunks_left=-1;
int chksize;
for(;(chunks_left--)&&(chksize=get_chunk(chkid));last_chunk=chunks)
{
if (chunks++==chunk_num) { break; }
seek_close_chunk();
}
}
catch(int ex) {
if (chunks_number < 0)
chunks_number=(recover_errors>SKIP_CHUNKS)?chunks:last_chunk;
};
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-09-22 23:37:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-09-22 23:37 ` pinskia at gcc dot gnu dot org
@ 2004-09-22 23:39 ` pinskia at gcc dot gnu dot org
2004-09-22 23:55 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-22 23:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-22 23:39 -------
: Search converges between 2004-05-11-trunk (#454) and 2004-05-14-trunk (#455).
This is an old one.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-09-22 23:39 ` pinskia at gcc dot gnu dot org
@ 2004-09-22 23:55 ` pinskia at gcc dot gnu dot org
2004-09-23 0:13 ` belyshev at lubercy dot com
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-22 23:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-22 23:55 -------
Hmm, this looks like into SSA problem because disabling all tree optimization does nothing to ICE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-09-22 23:55 ` pinskia at gcc dot gnu dot org
@ 2004-09-23 0:13 ` belyshev at lubercy dot com
2004-09-23 20:29 ` steven at gcc dot gnu dot org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: belyshev at lubercy dot com @ 2004-09-23 0:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-09-23 00:13 -------
// here is slightly more reduced testcase:
extern void foo (void);
int c;
void foo (int n)
{
int j = 0;
try
{
for(;;)
{
foo ();
if (j ++ == n)
break;
foo ();
}
}
catch (...)
{
c = j;
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-09-23 0:13 ` belyshev at lubercy dot com
@ 2004-09-23 20:29 ` steven at gcc dot gnu dot org
2004-09-23 20:50 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-09-23 20:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-09-23 20:29 -------
This is caused by forwprop.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |law at redhat dot com
Last reconfirmed|2004-09-22 23:37:35 |2004-09-23 20:29:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
` (7 preceding siblings ...)
2004-09-23 20:29 ` steven at gcc dot gnu dot org
@ 2004-09-23 20:50 ` pinskia at gcc dot gnu dot org
2004-09-23 21:18 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-23 20:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-23 20:50 -------
I have a fix for forward propagate will submit once I do some testing on it.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
` (8 preceding siblings ...)
2004-09-23 20:50 ` pinskia at gcc dot gnu dot org
@ 2004-09-23 21:18 ` pinskia at gcc dot gnu dot org
2004-09-24 13:26 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-23 21:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-23 21:18 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02451.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
` (9 preceding siblings ...)
2004-09-23 21:18 ` pinskia at gcc dot gnu dot org
@ 2004-09-24 13:26 ` cvs-commit at gcc dot gnu dot org
2004-09-24 13:29 ` cvs-commit at gcc dot gnu dot org
2004-09-24 13:30 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-24 13:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-09-24 13:26 -------
Subject: Bug 17624
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2004-09-24 13:26:31
Modified files:
gcc : ChangeLog tree-ssa-forwprop.c
Log message:
2004-09-24 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17624
* tree-ssa-forwprop.c (record_single_argument_cond_exprs):
Reject if any of the operands occur in an abnormal PHI.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5599&r2=2.5600
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-forwprop.c.diff?cvsroot=gcc&r1=2.7&r2=2.8
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
` (10 preceding siblings ...)
2004-09-24 13:26 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-24 13:29 ` cvs-commit at gcc dot gnu dot org
2004-09-24 13:30 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-24 13:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-09-24 13:29 -------
Subject: Bug 17624
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2004-09-24 13:29:25
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/opt: pr17624.C
Log message:
2004-09-24 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17624
* g++.dg/opt/pr17624.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4340&r2=1.4341
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/pr17624.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/17624] [4.0 Regression] ICE: SSA corruption (another one)
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
` (11 preceding siblings ...)
2004-09-24 13:29 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-24 13:30 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-24 13:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-24 13:30 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17624
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2004-09-24 13:30 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-22 23:08 [Bug tree-optimization/17624] New: [4.0 Regression] ICE: SSA corruption (another one) steven at gcc dot gnu dot org
2004-09-22 23:09 ` [Bug tree-optimization/17624] " steven at gcc dot gnu dot org
2004-09-22 23:09 ` steven at gcc dot gnu dot org
2004-09-22 23:29 ` pinskia at gcc dot gnu dot org
2004-09-22 23:37 ` pinskia at gcc dot gnu dot org
2004-09-22 23:39 ` pinskia at gcc dot gnu dot org
2004-09-22 23:55 ` pinskia at gcc dot gnu dot org
2004-09-23 0:13 ` belyshev at lubercy dot com
2004-09-23 20:29 ` steven at gcc dot gnu dot org
2004-09-23 20:50 ` pinskia at gcc dot gnu dot org
2004-09-23 21:18 ` pinskia at gcc dot gnu dot org
2004-09-24 13:26 ` cvs-commit at gcc dot gnu dot org
2004-09-24 13:29 ` cvs-commit at gcc dot gnu dot org
2004-09-24 13:30 ` 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).