[PATCH] Fix cpp ICE (regression from 2.95.x or 3.0.4)
Jakub Jelinek
jakub@redhat.com
Fri May 3 04:43:00 GMT 2002
On Fri, May 03, 2002 at 12:16:51PM +0100, Neil Booth wrote:
> Jakub Jelinek wrote:-
>
> > The following patch fixes it by doing what gcc <= 2.95.x did, ie.
> > silently disable -dM, -dI and -dN when -M or -MM is given, plus
> > only uses the last of -dM, -dD and -dN options given on the command line
>
> Would you also add something about this behaviour to the manual?
I'll try to do something.
> 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.
http://gcc.gnu.org/ml/gcc-patches/2002-05/msg00100.html
Jakub
More information about the Gcc-patches
mailing list