Re: [C] Issue an error on scalar va_list with reverse storage order

2015-12-08 Thread Eric Botcazou
> The new gcc.dg/sso-9.c test is failing for aarch64 and arm targets. There's > no error generated if I compile the test from the command line for > aarch64-none-elf. GCC for x86_64 does generate the error. Fixed like so, applied as obvious, thanks for the heads up. * gcc.dg/sso-9.c (foo

Re: [C] Issue an error on scalar va_list with reverse storage order

2015-12-08 Thread Matthew Wahab
Hello On 03/12/15 14:53, Eric Botcazou wrote: further testing revealed an issue with va_arg handling and reverse scalar storage order on some platforms: when va_list is scalar, passing a field of a structure with reverse SSO as first argument to va_start/va_arg/va_end doesn't work because the

Re: [C] Issue an error on scalar va_list with reverse storage order

2015-12-03 Thread Joseph Myers
On Thu, 3 Dec 2015, Eric Botcazou wrote: > Hi, > > further testing revealed an issue with va_arg handling and reverse scalar > storage order on some platforms: when va_list is scalar, passing a field of a > structure with reverse SSO as first argument to va_start/va_arg/va_end > doesn't > wor

[C] Issue an error on scalar va_list with reverse storage order

2015-12-03 Thread Eric Botcazou
Hi, further testing revealed an issue with va_arg handling and reverse scalar storage order on some platforms: when va_list is scalar, passing a field of a structure with reverse SSO as first argument to va_start/va_arg/va_end doesn't work because the machinery takes its address and this is not