This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix cpp ICE (regression from 2.95.x or 3.0.4)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: mark at codesourcery dot com, zack at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Date: Fri, 3 May 2002 07:42:48 -0400
- Subject: Re: [PATCH] Fix cpp ICE (regression from 2.95.x or 3.0.4)
- References: <20020501072335.C23056@devserv.devel.redhat.com> <20020503111651.GB17218@daikokuya.demon.co.uk>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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.