Paolo Bonzini wrote: > This was caused by: > 2006-01-22 Zack Weinberg <[EMAIL PROTECTED]> > > * genautomata.c: Include vec.h, not varray.h. > > > The problem that Mark reported happens because (since always) the CFLAGS > of the gcc directory are just "-g", not "-O2 -g". Optimized builds have > (since always) been done only because the toplevel overrides the "-g" > CFLAGS. So, when you type "make" in the gcc directory, it triggers a > non-optimized build of everything (generator programs, compiler, > driver), which in turn triggers PR18058.
I think that, after Zack's change, the generator programs that include rtl.h should be linked with build/vec.o. That may not be necessary when optimizing, but it would avoid this problem. Do you agree? -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713