http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60337
Bug ID: 60337 Summary: s390: Function arguments are not aligned Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vogt at linux dot vnet.ibm.com On s390, if a type with __attribute__((aligned(...))) is passed as a function parameter, the parameters are not aligned properly. Also, a parameter that is passed in a register and then copied to the stack is not aligned. Output of the attached test program on s390x: $ ./foo 0x3ffff8f0000 <--- Address on main's stack is aligned 0x3ffff8e2980 5 <--- foo's parameter is not aligned 0x3ffff8e2980 5 <--- bar's parameter is not aligned 0x3ffff8e2980 123 <--- baz's parameter is not aligned