------- Comment #9 from ebotcazou at gcc dot gnu dot org 2006-06-24 14:54
-------
> The problem appears to be caused by the change of semantics of const_binop in
> this patch:
>
> 2005-11-16 Eric Botcazou <[EMAIL PROTECTED]>
>
> * fold-const.c (const_binop): Don't constant fold the operation
> if the result has overflowed and flag_trapping_math.
> * simplify-rtx.c (simplify_const_binary_operation): Likewise.
This patch doesn't change the semantics of const_binop, it only plugs a hole.
It looks like const_binop is not prepared for itself returning NULL_TREE...
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|ebotcazou at gcc dot gnu dot|
|org |
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-06-24 13:50:09 |2006-06-24 14:54:58
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28151