http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57357
--- Comment #5 from thutt at vmware dot com --- (In reply to Andrew Pinski from comment #3) > (In reply to thutt from comment #2) > > Can you please explain why it's invalid to return a double if SSE is > > disabled? > > SSE is an x86-specific hardware implementation and has nothing to do with > > language validity from my standpoint. > > On x86_64 the ABI says doubles are returned (and passed) via the SSE > registers. Compiling the same program with gcc-4.8 -m64 -mno-sse -c -o /tmp/gungla.o /tmp/gungla.c does not exhibit the issue. Is there simple explanation for the difference in behavior?