This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/29921] [4.3 regression]: internal compiler error: in set_lattice_value, at tree-ssa-ccp.c:437



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]