public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
@ 2006-11-19 22:31 tbm at cyrius dot com
2006-11-19 22:32 ` [Bug tree-optimization/29902] " tbm at cyrius dot com
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: tbm at cyrius dot com @ 2006-11-19 22:31 UTC (permalink / raw)
To: gcc-bugs
I get the following ICE with 4.2.0 20061116 with -fprefetch-loop-arrays:
tbm@coconut0:~$ /usr/lib/gcc-snapshot/bin/g++ -c -O3
libjingle0.3-xmppclient.cpp tbm@coconut0:~$
/usr/lib/gcc-snapshot/bin/g++ -c -O -fprefetch-loop-arrays
libjingle0.3-xmppclient.cpp
libjingle0.3-xmppclient.cpp: In member function 'virtual buzz::SaslMechanism*
buzz::PlainSaslHandler::CreateSaslMechanism(const std::string&)':
libjingle0.3-xmppclient.cpp:231: internal compiler error: in
coalesce_abnormal_edges, at tree-outof-ssa.c:644
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
tbm@coconut0:~$
--
Summary: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at
tree-outof-ssa.c:644
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbm at cyrius dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
@ 2006-11-19 22:32 ` tbm at cyrius dot com
2006-11-19 23:24 ` pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: tbm at cyrius dot com @ 2006-11-19 22:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tbm at cyrius dot com 2006-11-19 22:31 -------
Created an attachment (id=12648)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12648&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
2006-11-19 22:32 ` [Bug tree-optimization/29902] " tbm at cyrius dot com
@ 2006-11-19 23:24 ` pinskia at gcc dot gnu dot org
2006-11-20 0:23 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-19 23:24 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
2006-11-19 22:32 ` [Bug tree-optimization/29902] " tbm at cyrius dot com
2006-11-19 23:24 ` pinskia at gcc dot gnu dot org
@ 2006-11-20 0:23 ` pinskia at gcc dot gnu dot org
2006-11-20 0:27 ` 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 @ 2006-11-20 0:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-11-20 00:23 -------
Reduced testcase:
int length1();
int g(int);
void f(int capacity_, char *old_storage)
{
try {
length1();
int old_capacity = capacity_;
capacity_ *= 2;
g(capacity_);
for (int i = 1; i < old_capacity; i++)
old_storage[i] = old_storage[i - 1];
} catch (...) {
for (int i = 1; i < capacity_; i++){}
}
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-11-20 00:23:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
` (2 preceding siblings ...)
2006-11-20 0:23 ` pinskia at gcc dot gnu dot org
@ 2006-11-20 0:27 ` pinskia at gcc dot gnu dot org
2006-11-20 1:01 ` rakdver at gcc dot gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-20 0:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-11-20 00:27 -------
I think after remove empty loops, we should add a DCE pass which should fix the
above reduced testcase but will not fix this reduced testcase:
int length1();
int g(int);
void f(int capacity_, char*old_storage)
{
try {
length1();
int old_capacity = capacity_;
capacity_ *= 2;
g(capacity_);
for (int i = 1; i < old_capacity; i++)
old_storage[i] = old_storage[i - 1];
} catch (...) {
for (int i = 1; i < capacity_; i++){old_storage[i] = 0;}
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
` (3 preceding siblings ...)
2006-11-20 0:27 ` pinskia at gcc dot gnu dot org
@ 2006-11-20 1:01 ` rakdver at gcc dot gnu dot org
2006-11-20 1:40 ` rakdver at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-11-20 1:01 UTC (permalink / raw)
To: gcc-bugs
--
rakdver at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rakdver at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-11-20 00:23:35 |2006-11-20 01:01:32
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
` (4 preceding siblings ...)
2006-11-20 1:01 ` rakdver at gcc dot gnu dot org
@ 2006-11-20 1:40 ` rakdver at gcc dot gnu dot org
2006-11-20 1:41 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-11-20 1:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rakdver at gcc dot gnu dot org 2006-11-20 01:39 -------
On what target is this? I cannot reproduce it neither on i686 nor from ppc
crosscompiler.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
` (5 preceding siblings ...)
2006-11-20 1:40 ` rakdver at gcc dot gnu dot org
@ 2006-11-20 1:41 ` pinskia at gcc dot gnu dot org
2006-11-20 9:25 ` tbm at cyrius dot com
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-20 1:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-11-20 01:41 -------
I could reproduce this with -march=pentium4 -fprefetch-loop-arrays with "4.3.0
20061111" for 4.2.0, you might need --enable-checking.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
` (6 preceding siblings ...)
2006-11-20 1:41 ` pinskia at gcc dot gnu dot org
@ 2006-11-20 9:25 ` tbm at cyrius dot com
2006-11-21 23:45 ` rakdver at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: tbm at cyrius dot com @ 2006-11-20 9:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from tbm at cyrius dot com 2006-11-20 09:25 -------
(In reply to comment #4)
> On what target is this? I cannot reproduce it neither on i686 nor from ppc
> crosscompiler.
I was on ia64.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
` (7 preceding siblings ...)
2006-11-20 9:25 ` tbm at cyrius dot com
@ 2006-11-21 23:45 ` rakdver at gcc dot gnu dot org
2006-11-24 2:24 ` [Bug tree-optimization/29902] [4.2 " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-11-21 23:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rakdver at gcc dot gnu dot org 2006-11-21 23:45 -------
Subject: Bug 29902
Author: rakdver
Date: Tue Nov 21 23:45:21 2006
New Revision: 119074
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119074
Log:
PR tree-optimization/29902
* tree-ssa-loop-manip.c (can_unroll_loop_p): Return false if
any involved ssa name appears in abnormal phi node.
* g++.dg/tree-ssa/pr29902.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/tree-ssa/pr29902.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-loop-manip.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
` (8 preceding siblings ...)
2006-11-21 23:45 ` rakdver at gcc dot gnu dot org
@ 2006-11-24 2:24 ` pinskia at gcc dot gnu dot org
2007-02-19 20:43 ` mmitchel 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 @ 2006-11-24 2:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2006-11-24 02:23 -------
Fixed on the trunk.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2/4.3 Regression] ICE in |[4.2 Regression] ICE in
|coalesce_abnormal_edges, at |coalesce_abnormal_edges, at
|tree-outof-ssa.c:644 |tree-outof-ssa.c:644
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
` (10 preceding siblings ...)
2007-02-19 20:43 ` mmitchel at gcc dot gnu dot org
@ 2007-02-19 20:43 ` mmitchel at gcc dot gnu dot org
2007-03-03 0:39 ` rakdver at gcc dot gnu dot org
2007-03-03 0:41 ` rakdver at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-19 20:43 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
` (9 preceding siblings ...)
2006-11-24 2:24 ` [Bug tree-optimization/29902] [4.2 " pinskia at gcc dot gnu dot org
@ 2007-02-19 20:43 ` mmitchel at gcc dot gnu dot org
2007-02-19 20:43 ` mmitchel at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-19 20:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from mmitchel at gcc dot gnu dot org 2007-02-19 20:43 -------
Zdenek --
Can this patch be backported to 4.2?
Thanks,
-- Mark
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
` (11 preceding siblings ...)
2007-02-19 20:43 ` mmitchel at gcc dot gnu dot org
@ 2007-03-03 0:39 ` rakdver at gcc dot gnu dot org
2007-03-03 0:41 ` rakdver at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2007-03-03 0:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from rakdver at gcc dot gnu dot org 2007-03-03 00:39 -------
Subject: Bug 29902
Author: rakdver
Date: Sat Mar 3 00:38:56 2007
New Revision: 122501
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122501
Log:
PR tree-optimization/29902
* tree-ssa-loop-manip.c (can_unroll_loop_p): Return false if
any involved ssa name appears in abnormal phi node.
* g++.dg/tree-ssa/pr29902.C: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/tree-ssa/pr29902.C
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/tree-ssa-loop-manip.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/29902] [4.2 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
` (12 preceding siblings ...)
2007-03-03 0:39 ` rakdver at gcc dot gnu dot org
@ 2007-03-03 0:41 ` rakdver at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2007-03-03 0:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from rakdver at gcc dot gnu dot org 2007-03-03 00:41 -------
> Can this patch be backported to 4.2?
Done.
--
rakdver at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2007-03-03 0:41 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-19 22:31 [Bug tree-optimization/29902] New: [4.2/4.3 Regression] ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:644 tbm at cyrius dot com
2006-11-19 22:32 ` [Bug tree-optimization/29902] " tbm at cyrius dot com
2006-11-19 23:24 ` pinskia at gcc dot gnu dot org
2006-11-20 0:23 ` pinskia at gcc dot gnu dot org
2006-11-20 0:27 ` pinskia at gcc dot gnu dot org
2006-11-20 1:01 ` rakdver at gcc dot gnu dot org
2006-11-20 1:40 ` rakdver at gcc dot gnu dot org
2006-11-20 1:41 ` pinskia at gcc dot gnu dot org
2006-11-20 9:25 ` tbm at cyrius dot com
2006-11-21 23:45 ` rakdver at gcc dot gnu dot org
2006-11-24 2:24 ` [Bug tree-optimization/29902] [4.2 " pinskia at gcc dot gnu dot org
2007-02-19 20:43 ` mmitchel at gcc dot gnu dot org
2007-02-19 20:43 ` mmitchel at gcc dot gnu dot org
2007-03-03 0:39 ` rakdver at gcc dot gnu dot org
2007-03-03 0:41 ` rakdver 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).