[Bug target/89165] miscompile calling SSE function from non-SSE code
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 3 03:25:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89165
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is warned about:
t.c: In function ‘g’:
t.c:7:1: warning: SSE vector return without SSE enabled changes the ABI
[-Wpsabi]
7 | simd4f g(simd4f a,simd4f b) {return f(a)+f(b);}
| ^~~~~~
t.c:7:8: note: The ABI for passing parameters with 16-byte alignment has
changed in GCC 4.6
7 | simd4f g(simd4f a,simd4f b) {return f(a)+f(b);}
| ^
t.c:7:8: warning: SSE vector argument without SSE enabled changes the ABI
[-Wpsabi]
More information about the Gcc-bugs
mailing list