This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix gcc.c-torture/execute/stdarg-2.c


On Wed, Nov 03, 2004 at 09:56:30PM +0100, Eric Botcazou wrote:
> The testcase is miscompiled on the SPARC because of the following construct:
> 
>   foo_arg = va_arg (ap, int) + va_arg (ap, double);
> 
> I think it is not valid ISO C because ap is modified twice without an 
> intervening sequence point.

You're right, I'm sorry for that.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]