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 middle-end/28151] [4.1/4.2 Regression] ICE with complex math



------- 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  <ebotcazou@adacore.com>
> 
>         * 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


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