[Bug testsuite/35621] gcc.target/i386/ssse3-psignw.c fails at -O3
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 18 01:08:00 GMT 2008
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-03-18 01:07 -------
(In reply to comment #1)
> The problem seems MMX register related.
Actually the testcase violates C aliasing rules. Way violating them.
compute_correct_result (&vals[i + 0], &vals[i + 4], ck);
compute_correct_result (int *i1, int *i2, int *r)
short *sout = (short *) r;
sout[i] = -s1[i];
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |testsuite
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35621
More information about the Gcc-bugs
mailing list