* [Bug c/44977] [4.4/4.5/4.6 Regression] ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728
2010-07-18 6:28 [Bug c/44977] New: ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728 regehr at cs dot utah dot edu
@ 2010-07-18 14:43 ` hjl dot tools at gmail dot com
2010-07-18 18:01 ` hjl dot tools at gmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-18 14:43 UTC (permalink / raw)
To: gcc-bugs
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-07-18 14:42:54
date| |
Summary|ice in |[4.4/4.5/4.6 Regression] ice
|propagate_rhs_into_lhs, at |in propagate_rhs_into_lhs,
|tree-ssa-dom.c:2728 |at tree-ssa-dom.c:2728
Version|unknown |4.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44977
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/44977] [4.4/4.5/4.6 Regression] ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728
2010-07-18 6:28 [Bug c/44977] New: ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728 regehr at cs dot utah dot edu
2010-07-18 14:43 ` [Bug c/44977] [4.4/4.5/4.6 Regression] " hjl dot tools at gmail dot com
@ 2010-07-18 18:01 ` hjl dot tools at gmail dot com
2010-07-18 18:42 ` [Bug tree-optimization/44977] " rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-18 18:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hjl dot tools at gmail dot com 2010-07-18 18:01 -------
It is caused by revision 139286:
http://gcc.gnu.org/ml/gcc-cvs/2008-08/msg00848.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44977
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/44977] [4.4/4.5/4.6 Regression] ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728
2010-07-18 6:28 [Bug c/44977] New: ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728 regehr at cs dot utah dot edu
2010-07-18 14:43 ` [Bug c/44977] [4.4/4.5/4.6 Regression] " hjl dot tools at gmail dot com
2010-07-18 18:01 ` hjl dot tools at gmail dot com
@ 2010-07-18 18:42 ` rguenth at gcc dot gnu dot org
2010-07-20 11:20 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-18 18:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-18 18:42 -------
Mine.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2010-07-18 14:42:54 |2010-07-18 18:42:24
date| |
Target Milestone|--- |4.4.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44977
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/44977] [4.4/4.5/4.6 Regression] ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728
2010-07-18 6:28 [Bug c/44977] New: ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728 regehr at cs dot utah dot edu
` (2 preceding siblings ...)
2010-07-18 18:42 ` [Bug tree-optimization/44977] " rguenth at gcc dot gnu dot org
@ 2010-07-20 11:20 ` rguenth at gcc dot gnu dot org
2010-07-20 12:45 ` [Bug tree-optimization/44977] [4.4 " rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-20 11:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-20 11:20 -------
#1 0x0000000000aeab84 in propagate_rhs_into_lhs (stmt=0x7ffff5b4d370,
lhs=0x7ffff5afc738, rhs=0x7ffff5afc738, interesting_names=0x17b93c8)
at /space/rguenther/src/svn/trunk/gcc/tree-ssa-dom.c:2728
2728 gcc_assert (!all || has_zero_uses (lhs));
(gdb) p all
$1 = 1 '\001'
(gdb) p lhs
(gdb) call debug_immediate_uses_for (lhs)
g_67.1_6 : --> single use.
g_67.1_6 = g_67.1_6;
We have
<bb 9>:
# l_85_37 = PHI <0(9), 0(4)>
# prephitmp.12_36 = PHI <g_67.1_6(9), g_67.1_7(4)>
g_67.1_6 = prephitmp.12_36 ^ l_85_37;
goto <bb 9>;
and eliminate_degenerate_phis replaces it with the above through the
intermediate
<bb 9>:
# prephitmp.12_36 = PHI <g_67.1_6(9)>
g_67.1_6 = prephitmp.12_36;
goto <bb 9>;
I have a patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44977
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/44977] [4.4 Regression] ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728
2010-07-18 6:28 [Bug c/44977] New: ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728 regehr at cs dot utah dot edu
` (3 preceding siblings ...)
2010-07-20 11:20 ` rguenth at gcc dot gnu dot org
@ 2010-07-20 12:45 ` rguenth at gcc dot gnu dot org
2010-07-20 12:45 ` [Bug tree-optimization/44977] [4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-20 12:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2010-07-20 12:45 -------
Fixed on trunk and the 4.5 branch sofar.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.4.4 4.5.0
Known to work| |4.5.1 4.6.0
Summary|[4.4/4.5/4.6 Regression] ice|[4.4 Regression] ice in
|in propagate_rhs_into_lhs, |propagate_rhs_into_lhs, at
|at tree-ssa-dom.c:2728 |tree-ssa-dom.c:2728
Target Milestone|4.4.6 |4.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44977
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/44977] [4.4/4.5/4.6 Regression] ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728
2010-07-18 6:28 [Bug c/44977] New: ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728 regehr at cs dot utah dot edu
` (4 preceding siblings ...)
2010-07-20 12:45 ` [Bug tree-optimization/44977] [4.4 " rguenth at gcc dot gnu dot org
@ 2010-07-20 12:45 ` rguenth at gcc dot gnu dot org
2010-07-27 13:05 ` [Bug tree-optimization/44977] [4.4 " rguenth at gcc dot gnu dot org
2010-07-27 13:06 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-20 12:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-07-20 12:41 -------
Subject: Bug 44977
Author: rguenth
Date: Tue Jul 20 12:41:20 2010
New Revision: 162334
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162334
Log:
2010-07-20 Richard Guenther <rguenther@suse.de>
PR tree-optimization/44977
* tree-ssa-dom.c (propagate_rhs_into_lhs): Do not create invalid
SSA form.
* gcc.dg/torture/pr44977.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr44977.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-dom.c
------- Comment #5 from rguenth at gcc dot gnu dot org 2010-07-20 12:44 -------
Subject: Bug 44977
Author: rguenth
Date: Tue Jul 20 12:44:16 2010
New Revision: 162335
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162335
Log:
2010-07-20 Richard Guenther <rguenther@suse.de>
PR tree-optimization/44977
* tree-ssa-dom.c (propagate_rhs_into_lhs): Do not create invalid
SSA form.
* gcc.dg/torture/pr44977.c: New testcase.
Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr44977.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
branches/gcc-4_5-branch/gcc/tree-ssa-dom.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44977
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/44977] [4.4 Regression] ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728
2010-07-18 6:28 [Bug c/44977] New: ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728 regehr at cs dot utah dot edu
` (5 preceding siblings ...)
2010-07-20 12:45 ` [Bug tree-optimization/44977] [4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
@ 2010-07-27 13:05 ` rguenth at gcc dot gnu dot org
2010-07-27 13:06 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-27 13:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2010-07-27 13:05 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44977
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/44977] [4.4 Regression] ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728
2010-07-18 6:28 [Bug c/44977] New: ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728 regehr at cs dot utah dot edu
` (6 preceding siblings ...)
2010-07-27 13:05 ` [Bug tree-optimization/44977] [4.4 " rguenth at gcc dot gnu dot org
@ 2010-07-27 13:06 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-27 13:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2010-07-27 13:05 -------
Subject: Bug 44977
Author: rguenth
Date: Tue Jul 27 13:05:17 2010
New Revision: 162565
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162565
Log:
2010-07-27 Richard Guenther <rguenther@suse.de>
PR tree-optimization/44977
* tree-ssa-dom.c (propagate_rhs_into_lhs): Do not create invalid
SSA form.
* gcc.dg/torture/pr44977.c: New testcase.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/pr44977.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
branches/gcc-4_4-branch/gcc/tree-ssa-dom.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44977
^ permalink raw reply [flat|nested] 9+ messages in thread