[Bug target/95748] Long long function parameter should be aligned to 32 bit on x86.

2020-06-19 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95748 --- Comment #4 from joseph at codesourcery dot com --- Note that __alignof__ is preferred alignment, whereas C11 _Alignof (which only applies to types, not declarations) is the alignment required in all contexts (so they differ for long long on

[Bug target/95748] Long long function parameter should be aligned to 32 bit on x86.

2020-06-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95748 --- Comment #3 from H.J. Lu --- [hjl@gnu-cfl-2 tmp]$ cat x.c typedef __UINTPTR_TYPE__ uintptr_t; __attribute__ ((noclone, noinline)) void check (uintptr_t address, uintptr_t align) { if (address & (align - 1)) __builtin_abort(); } __attr

[Bug target/95748] Long long function parameter should be aligned to 32 bit on x86.

2020-06-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95748 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Ever confirmed|0

[Bug target/95748] Long long function parameter should be aligned to 32 bit on x86.

2020-06-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95748 Richard Biener changed: What|Removed |Added Target||i?86-*-* Status|UNCONFIRMED