[Bug target/68273] [5/6 Regression] Wrong code on mips/mipsel with -fipa-sra

2016-01-21 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68273 --- Comment #10 from Jeffrey A. Law --- I understand everything you're saying Richi. Note however that the MIPS backend explicitly wants to align things based on the object's alignment -- even scalars passed in registers: /* Advance to an even

[Bug target/68273] [5/6 Regression] Wrong code on mips/mipsel with -fipa-sra

2016-01-21 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68273 --- Comment #9 from joseph at codesourcery dot com --- On Thu, 21 Jan 2016, rguenth at gcc dot gnu.org wrote: > With C11 aligning a type is no longer a GCC extension(?), for previous > C versions either GCC shouldn't change the ABI or document t

[Bug target/68273] [5/6 Regression] Wrong code on mips/mipsel with -fipa-sra

2016-01-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68273 --- Comment #8 from Richard Biener --- Also consider typedef int myint __attribute__((align(1))); void foo (int, int); void bar() { foo ((myint)1, (myint)2); foo (1, 2); }

[Bug target/68273] [5/6 Regression] Wrong code on mips/mipsel with -fipa-sra

2016-01-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68273 Richard Biener changed: What|Removed |Added CC||clm at codesourcery dot com,