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] SH: Bootstrap failure


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


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