[Bug target/60337] s390: Function arguments are not aligned
vogt at linux dot vnet.ibm.com
gcc-bugzilla@gcc.gnu.org
Wed Feb 26 08:34:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60337
--- Comment #5 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
With -O2 and -O3 all three cases generate the proper alignment
With -O1 only foo() has the proper alignment
With -O0 none of the cases has the proper alignment
==> Code compiled with -O0 and -O3 accidentally uses a different ABI.
Power shows the same erratic behaviour, on amd64 alignment works with all
-O{0,1,2,3}.
More information about the Gcc-bugs
mailing list