This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix cpp ICE (regression from 2.95.x or 3.0.4)
Zack Weinberg wrote:-
> > This is special-cased for stdout; a more general fix would be nice.
> > I've not got any great ideas though.
>
> I think I see how to deal with it; I'll be experimenting today. The
> basic idea is, cpplib's caller should be responsible for opening and
> closing the output file; all the code in cppoutput etc that needs to
> write to a FILE* should take it as a parameter.
>
> This is broken in 3.0 as well as 3.1, right?
Yes.
Neil.