[Bug tree-optimization/37421] ICE in vn_reference_insert_pieces at tree-ssa-sccvn.c:1131

2008-09-08 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-09-08 12:21 --- ANTIC_OUT[4] := { {view_convert_expr ,integer_cst 0} (0005) } ANTIC_IN[4] := { {view_convert_expr ,integer_cst 0} (0005) } S[4] := { {view_convert_expr ,integer_cst 0} (0005) } so a quick look suggests we fail to

[Bug tree-optimization/37421] ICE in vn_reference_insert_pieces at tree-ssa-sccvn.c:1131

2008-09-08 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-09-08 12:16 --- I will have a look. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/37421] ICE in vn_reference_insert_pieces at tree-ssa-sccvn.c:1131

2008-09-08 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-09-08 14:56 --- I have a (good on its own) patch to hide the issue, but I'll try to investigate the issue some more. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37421

[Bug tree-optimization/37421] ICE in vn_reference_insert_pieces at tree-ssa-sccvn.c:1131

2008-09-08 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-09-08 15:14 --- It actually is the correct fix. We valueize expressions in-place, and copy visiting doesn't follow the chain up until a constant. So we have a = 0; = VIEW_CONVERT_EXPR a; b = a; = VIEW_CONVERT_EXPR b; we

[Bug tree-optimization/37421] ICE in vn_reference_insert_pieces at tree-ssa-sccvn.c:1131

2008-09-08 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-09-08 16:31 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/37421] ICE in vn_reference_insert_pieces at tree-ssa-sccvn.c:1131

2008-09-08 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-09-08 16:33 --- Subject: Bug 37421 Author: rguenth Date: Mon Sep 8 16:31:43 2008 New Revision: 140111 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140111 Log: 2008-09-08 Richard Guenther [EMAIL PROTECTED] PR