--- Comment #10 from hjl at gcc dot gnu dot org 2009-10-15 21:18 ---
Subject: Bug 41634
Author: hjl
Date: Thu Oct 15 21:17:36 2009
New Revision: 152870
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152870
Log:
2009-10-15 H.J. Lu
Backport from mainline:
2009-
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-10-09 18:30 ---
Subject: Bug 41634
Author: rguenth
Date: Fri Oct 9 18:30:05 2009
New Revision: 152596
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152596
Log:
2009-10-09 Richard Guenther
PR tree-optimization/
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-10-09 18:30 ---
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-10-09 15:54 ---
Breakpoint 5, lookup_avail_expr (stmt=0xb7d591a0, insert=1 '\1')
at /home/richard/src/trunk/gcc/tree-ssa-dom.c:2254
2254 slot = htab_find_slot_with_hash (avail_exprs, element, element->hash,
# VUSE <.MEM_21>
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-09 15:43 ---
Created an attachment (id=18768)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18768&action=view)
debugging patch
Ok, the issue is that we insert a stmt for
2>>> 0x8dffd28 STMT D.2003_28 =
"0,1,2,3,4,5,6,7,8,
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-09 14:53 ---
We have the same expr on the stack more than once.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-09 09:50 ---
r152542 works for me (on native i?86).
0>>> COPY D.1540_28 = 13
1>>> COND 1 = D.1540_28 eq_expr 13
1>>> COND 0 = D.1540_28 ne_expr 13
1>>> COND 1 = D.1540_28 le_expr 13
1>>> COND 1 = D.1540_28 ge_expr 13
LKUP STMT D
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-10-08 21:49 ---
This appeared between revision 152380 and 152576.
The only patch which touched dom during that time was:
+2009-10-05 Richard Guenther
+
+ PR tree-optimization/23821
+ * tree-vrp.c (vrp_finalize): Do no
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-10-08 21:46 ---
#0 0x00cb8976 in htab_remove_elt_with_hash (htab=0x43b0dd20,
element=0xb2e4, hash=2085838349) at
/Users/apinski/src/change/gcc/libiberty/hashtab.c:706
#1 0x00672a4e in remove_local_expressions_from_table () at