http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48403
--- Comment #37 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-04-04
21:13:51 UTC ---
> /proj/opensrc/nightly/src/trunk/gcc/errors.c:86:1: internal compiler error: in
> max_issue, at haifa-sched.c:2524
> Please submit a full bug report,
> with preprocessed source if appropriate.
Confirmed. Reduced testcase for -O2:
typedef __builtin_va_list va_list;
extern void exit (unsigned);
extern int vfprintf (void *s, const char *format, va_list arg);
extern void *stderr;
void fatal (const char *format, ...)
{
va_list ap;
__builtin_va_start(ap,format);
vfprintf (stderr, format, ap);
__builtin_va_end(ap);
exit (1);
}
But x86/Linux, x86-64/Linux, x86-64/Darwin, x86/Solaris and SPARC/Solaris now
bootstrap fine for me so there is some progress.