This is the mail archive of the
mailing list for the GCC project.
Re: RFA: Avoid -Werror bootstrap failure with BUILD_CC=gcc-2.95
Zack Weinberg wrote:-
> >> > GCC 2.95 warns here; GCC 3.4 is smarter. OK?
> >> This is fine as a defensive move, go ahead and check it in, but could
> >> you please try to figure out why BUILD_CC isn't getting overridden in
> >> stage 2 of a bootstrap?
> > Well, that's easy. The question is, do we want BUILD_CC == CC?
> You had to go and ask that. Now I am not sure.
Well, am I right in saying that only native compiles ever enter stage 2?
If so, it can't hurt for BUILD_CC to be the same as CC during stage2.
If you agree, I can prepare a patch. Meanwhile, I'll hold off on the
other change - I'd rather not add an unnecessary cast if fixing the
Makefile is the right way to solve this issue.