This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29056] gcc.target/powerpc/ppc-negeq0-1.c fails on powerpc64
- From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Dec 2007 18:34:48 -0000
- Subject: [Bug middle-end/29056] gcc.target/powerpc/ppc-negeq0-1.c fails on powerpc64
- References: <bug-29056-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from howarth at nitro dot med dot uc dot edu 2007-12-24 18:34 -------
I would also note that the testcase passes at both -m32 and -m64 as I posted.
If I change...
return -(t>>5);
to
return -(t>>1);
The testcase passes at -m64 but fails at -m32. However if I use...
return -(t>>9);
...the testcase passes at both -m32 and -m64.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29056