[PATCH] SH: Bootstrap failure

Kaz Kojima kkojima@rr.iij4u.or.jp
Wed May 4 06:09:00 GMT 2005


Richard Henderson <rth@redhat.com> wrote:
>> extern void bar ();
>> 
>> void
>> foo (const char *format, ...)
>> {
>>   char buf[4096];
>>   __builtin_va_list va;
>> 
>>   __builtin_va_start (va, format);
>>   bar (va);
>>   __builtin_va_end(va);
>> }
> 
> I can't reproduce with this.  Are you sure there are no other command-line
> options besides
> 
> 	 ./xgcc -B./ -S -O2 -fPIC -g z.c

Oops.  You are right.  The above reduced testcase fails with

  ./cc1 z.c

and doesn't fail with -O2, though gzio.c fails even with -O2.

Regards,
	kaz



More information about the Gcc-patches mailing list