This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29921] [4.3 regression]: internal compiler error: in set_lattice_value, at tree-ssa-ccp.c:437
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Nov 2006 02:06:35 -0000
- Subject: [Bug tree-optimization/29921] [4.3 regression]: internal compiler error: in set_lattice_value, at tree-ssa-ccp.c:437
- References: <bug-29921-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-11-21 02:06 -------
Confirmed. The problem is that we have:
(gdb) p debug_generic_expr(old_val->value)
-0.0
$4 = void
(gdb) p debug_generic_expr(new_val->value)
0.0
Which does not compare equal for operand_equal_p:
(gdb) p operand_equal_p (old_val->value, new_val.value, 0)
$7 = 0
I think operand_equal_p should return true or we need to check it specially for
it.
The statement which we are crashing on:
(gdb) p debug_generic_expr (stmt)
D.1040_52 = D.1039_51 * D.1037_48
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2006-11-21 02:06:34
date| |
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29921