[Bug target/88671] generic vector passed in MMX regs

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 3 13:18:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88671

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ABI
             Target|                            |i?86-*-*

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
And -m32 -msse2 -mno-mmx of course warns:

t.c: In function ‘foo2’:
t.c:8:3: warning: MMX vector argument without MMX enabled changes the ABI
[-Wpsabi]
   bar2(*p);
   ^~~~~~~~

so it seems to work as designed.  Still it might be unfortunate to the
occasional user of generic vectors with MMX size that MMX is used
when not using intrinsics...


More information about the Gcc-bugs mailing list