This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/28151] [4.1/4.2 Regression] ICE with complex math
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2006 14:54:58 -0000
- Subject: [Bug middle-end/28151] [4.1/4.2 Regression] ICE with complex math
- References: <bug-28151-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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