* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
@ 2006-04-24 14:24 ` tbm at cyrius dot com
2006-04-24 23:46 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tbm at cyrius dot com @ 2006-04-24 14:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tbm at cyrius dot com 2006-04-24 14:24 -------
Created an attachment (id=11325)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11325&action=view)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
2006-04-24 14:24 ` [Bug tree-optimization/27283] " tbm at cyrius dot com
@ 2006-04-24 23:46 ` pinskia at gcc dot gnu dot org
2006-04-25 1:20 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-24 23:46 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Keywords| |ice-on-valid-code
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
2006-04-24 14:24 ` [Bug tree-optimization/27283] " tbm at cyrius dot com
2006-04-24 23:46 ` pinskia at gcc dot gnu dot org
@ 2006-04-25 1:20 ` pinskia at gcc dot gnu dot org
2006-04-25 1:26 ` 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 @ 2006-04-25 1:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-25 01:20 -------
It fails at -O1 so we know it is not PRE which is good news.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-04-25 01:20:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
` (2 preceding siblings ...)
2006-04-25 1:20 ` pinskia at gcc dot gnu dot org
@ 2006-04-25 1:26 ` pinskia at gcc dot gnu dot org
2006-04-27 5:48 ` rakdver 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 @ 2006-04-25 1:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-04-25 01:26 -------
If I turn off IV-Opts it works.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
` (3 preceding siblings ...)
2006-04-25 1:26 ` pinskia at gcc dot gnu dot org
@ 2006-04-27 5:48 ` rakdver at gcc dot gnu dot org
2006-04-27 15:00 ` rakdver at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-04-27 5:48 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-04-25 01:20:53 |2006-04-27 05:48:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
` (4 preceding siblings ...)
2006-04-27 5:48 ` rakdver at gcc dot gnu dot org
@ 2006-04-27 15:00 ` rakdver at gcc dot gnu dot org
2006-05-01 20:06 ` rakdver at gcc dot gnu dot org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-04-27 15:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rakdver at gcc dot gnu dot org 2006-04-27 15:00 -------
Patch:
http://gcc.gnu.org/ml/gcc-patches/2006-04/msg01044.html
--
rakdver at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2006-
| |04/msg01044.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
` (5 preceding siblings ...)
2006-04-27 15:00 ` rakdver at gcc dot gnu dot org
@ 2006-05-01 20:06 ` rakdver at gcc dot gnu dot org
2006-05-02 4:51 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-05-01 20:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rakdver at gcc dot gnu dot org 2006-05-01 20:06 -------
Subject: Bug 27283
Author: rakdver
Date: Mon May 1 20:05:57 2006
New Revision: 113427
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113427
Log:
PR tree-optimization/27283
* tree-ssa-loop-ivopts.c (struct nfe_cache_elt): Store just trees,
not whole # of iteration descriptions.
(niter_for_exit): Return just # of iterations. Fail if # of iterations
uses abnormal ssa name.
(niter_for_single_dom_exit): Ditto.
(find_induction_variables, may_eliminate_iv): Expect niter_for_exit to
return just the number of iterations.
* g++.dg/tree-ssa/pr27283.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/tree-ssa/pr27283.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-loop-ivopts.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
` (6 preceding siblings ...)
2006-05-01 20:06 ` rakdver at gcc dot gnu dot org
@ 2006-05-02 4:51 ` pinskia at gcc dot gnu dot org
2006-05-11 8:23 ` tbm at cyrius dot com
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-02 4:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-05-02 04:51 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
` (7 preceding siblings ...)
2006-05-02 4:51 ` pinskia at gcc dot gnu dot org
@ 2006-05-11 8:23 ` tbm at cyrius dot com
2006-05-11 8:25 ` tbm at cyrius dot com
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tbm at cyrius dot com @ 2006-05-11 8:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from tbm at cyrius dot com 2006-05-11 08:22 -------
While the test case submitted to this PR indeed works now, the software program
which originally showed the bug shows that it's still there. Here's a new test
case.
--
tbm at cyrius dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
` (8 preceding siblings ...)
2006-05-11 8:23 ` tbm at cyrius dot com
@ 2006-05-11 8:25 ` tbm at cyrius dot com
2006-05-11 8:27 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tbm at cyrius dot com @ 2006-05-11 8:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from tbm at cyrius dot com 2006-05-11 08:24 -------
Created an attachment (id=11438)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11438&action=view)
new test case
1657:tbm@test: ~] /usr/lib/gcc-snapshot/bin/g++ -c -O1 mini.c
Conflict NewMins$maxdex_407(ab) and NewMins$maxdex_379(ab) across an abnormal
edge from BB8->BB42
mini.c: In member function 'gIndexOdometer
gIndexOdometer::AfterExcisionOf(int&) const':
mini.c:45: internal compiler error: SSA corruption
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
zsh: exit 1 /usr/lib/gcc-snapshot/bin/g++ -c -O1 mini.c
1658:tbm@test: ~] /usr/lib/gcc-snapshot/bin/g++ -c mini.c
1659:tbm@test: ~] /usr/lib/gcc-snapshot/bin/g++ -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,fortran,objc,obj-c++,treelang
--prefix=/usr/lib/gcc-snapshot --enable-shared --with-system-zlib --disable-nls
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/gcc-snapshot/jre --enable-mpfr --disable-multilib
--disable-werror powerpc-linux-gnu
Thread model: posix
gcc version 4.2.0 20060508 (experimental)
1660:tbm@test: ~]
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
` (9 preceding siblings ...)
2006-05-11 8:25 ` tbm at cyrius dot com
@ 2006-05-11 8:27 ` pinskia at gcc dot gnu dot org
2006-05-11 8:31 ` tbm at cyrius dot com
2006-05-17 8:24 ` jakub at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-11 8:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pinskia at gcc dot gnu dot org 2006-05-11 08:26 -------
The orginal problem is fixed and Martin is opening a new bug for the other
issue.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
` (10 preceding siblings ...)
2006-05-11 8:27 ` pinskia at gcc dot gnu dot org
@ 2006-05-11 8:31 ` tbm at cyrius dot com
2006-05-17 8:24 ` jakub at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: tbm at cyrius dot com @ 2006-05-11 8:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from tbm at cyrius dot com 2006-05-11 08:30 -------
See PR27548 for the new one.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge
2006-04-24 14:23 [Bug tree-optimization/27283] New: [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge tbm at cyrius dot com
` (11 preceding siblings ...)
2006-05-11 8:31 ` tbm at cyrius dot com
@ 2006-05-17 8:24 ` jakub at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-05-17 8:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from jakub at gcc dot gnu dot org 2006-05-17 08:24 -------
Subject: Bug 27283
Author: jakub
Date: Wed May 17 08:23:55 2006
New Revision: 113843
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113843
Log:
PR tree-optimization/27549
Backported from mainline
2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/27283
* tree-ssa-loop-ivopts.c (struct nfe_cache_elt): Store just trees,
not whole # of iteration descriptions.
(niter_for_exit): Return just # of iterations. Fail if # of iterations
uses abnormal ssa name.
(niter_for_single_dom_exit): Ditto.
(find_induction_variables, may_eliminate_iv): Expect niter_for_exit to
return just the number of iterations.
(add_iv_outer_candidates, may_replace_final_value): Likewise.
* g++.dg/tree-ssa/pr27283.C: New test.
* g++.dg/tree-ssa/pr27549.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/tree-ssa/pr27283.C
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/tree-ssa/pr27549.C
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/tree-ssa-loop-ivopts.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27283
^ permalink raw reply [flat|nested] 14+ messages in thread