Re: [PATCH] Fix x86_64 va_arg (ap, __int128) handling (PR target/92904)

2019-12-12 Thread Jan Hubicka
> Hi! > > As the following testcase shows, for va_arg (ap, __int128) or va_arg (ap, X) > where X is __attribute__((aligned (16))) 16 byte struct containing just > integral fields we sometimes emit incorrect read. While on the stack (i.e. > the overflow area) both of these are 16-byte aligned, whe

[PATCH] Fix x86_64 va_arg (ap, __int128) handling (PR target/92904)

2019-12-12 Thread Jakub Jelinek
Hi! As the following testcase shows, for va_arg (ap, __int128) or va_arg (ap, X) where X is __attribute__((aligned (16))) 16 byte struct containing just integral fields we sometimes emit incorrect read. While on the stack (i.e. the overflow area) both of these are 16-byte aligned, when __int128 o