This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR middle-end/26717
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: ubizjak at gmail dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 23 Mar 2006 09:46:55 -0500
- Subject: Re: [PATCH] Fix PR middle-end/26717
- References: <1143109898.4422790a12d4f@ssl.kss-loka.si>
On Mar 23, 2006, at 5:31 AM, Uros Bizjak wrote:
Hello!
This patch fixes the failure with -ffast-math, where gcc wants to
transform A /
A to 1.0 even for complex A. The patch disables the transformation
for complex
operands.
I just noticed this, vectors cause the same issue.
testcase:
typedef float __attribute__((vector_size(16))) ftype;
ftype f(ftype a, ftype b)
{
ftype c = a/a;
return c/b;
}
-- Pinski