------- Comment #5 from tkoenig at gcc dot gnu dot org  2008-12-25 15:53 -------
This is now an error:

$ gcc -mmmx -fcall-saved-mm0 bug.c
bug.c: In function 'f':
bug.c:6: error: incompatible type for argument 1 of '__builtin_ia32_pxor'
bug.c:6: note: expected 'int __vector__' but argument is of type 'di'
bug.c:6: error: incompatible type for argument 2 of '__builtin_ia32_pxor'
bug.c:6: note: expected 'int __vector__' but argument is of type 'di'
bug.c:6: error: incompatible types when assigning to type 'di' from type 'int
__vector__'
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../../gcc/trunk/configure --prefix=/home/ig25
--enable-languages=c,fortran --enable-maintainer-mode
Thread model: posix
gcc version 4.4.0 20081221 (experimental) (GCC)

This looks bogus, and not corresponding to the documentation, which
documents the function as

     di __builtin_ia32_pxor (di, di)


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |rejects-valid
   Last reconfirmed|2004-11-06 18:17:46         |2008-12-25 15:53:46
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11057

Reply via email to