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 
> work because the machinery takes its address and this is not allowed for such 
> a field (it's really a corner case but gcc.c-torture/execute/stdarg-2.c does 
> exercise it).  Hence the attached patch which issues an error in this case.
> 
> Tested on x86_64-suse-linux, OK for the mainline?

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to