This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR middle-end/30433, no longer folding __complex__(0.0, 1.0) == __complex__(1.0, 0.0)
- From: Roger Sayle <roger at eyesopen dot com>
- To: Andrew_Pinski at PlayStation dot Sony dot Com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 13 Feb 2007 14:04:13 -0700 (MST)
- Subject: Re: [PATCH] Fix PR middle-end/30433, no longer folding __complex__(0.0, 1.0) == __complex__(1.0, 0.0)
Hi Andrew,
On Tue, 13 Feb 2007 Andrew_Pinski@PlayStation.Sony.Com wrote:
>
> * fold-const.c (fold_comparison): Add back the
> folding of constant complex comparisions.
>
> * gcc.c-torture/compile/pr30433.c: New testcase to check
> that complex constants comparisions are foldded.
This OK for mainline, and the release branches (after they unfreeze).
But remember to add the bugzilla PR # to the ChangeLog entry.
Many thanks for fixing this.
Roger
--