[Bug middle-end/89972] [8/9 Regression] ICE in expand_call, at calls.c:4229
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 9 13:46:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89972
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ABI
CC| |andi-gcc at firstfloor dot org,
| |hjl.tools at gmail dot com,
| |hubicka at gcc dot gnu.org,
| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Guess this is primarily an ABI issue, whether such arguments shouldn't be
passed at all even if they have the extra alignments or not.
On:
struct S { long a[0] __attribute__ ((aligned (32))); };
void bar (long double, struct S, long double);
void foo (void)
{
struct S b;
bar (8.0L, b, 9.0L);
}
clang doesn't agree with icc, clang passes 8.0L at rsp and 9.0 at rsp+16, while
icc at rsp and rsp+32 (and gcc ICEs).
More information about the Gcc-bugs
mailing list