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)
Jakub Jelinek wrote:-
> > In the absence of testcases (I know it's hard) having it all fully documented
> > is the best way to avoid regressions.
>
> Actually, I've posted testcases for this, unfortunately they revealed yet
> another bug (f = fopen("f", "w"); write to f; g = fopen("f", "w"); write something
> else to g; fclose(g); fclose(f)) and I haven't heard from Zack nor anybody else
> on the fix yet.
This is special-cased for stdout; a more general fix would be nice.
I've not got any great ideas though.
Neil.