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)
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: mark at codesourcery dot com, neil at daikokuya dot demon dot co dot uk,gcc-patches at gcc dot gnu dot org
- Date: Wed, 1 May 2002 08:49:22 -0700
- Subject: Re: [PATCH] Fix cpp ICE (regression from 2.95.x or 3.0.4)
- References: <20020501072335.C23056@devserv.devel.redhat.com>
On Wed, May 01, 2002 at 07:23:35AM -0400, 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
> (this doesn't match what gcc <= 2.95.x did, but IMHO it makes most sense,
> <= 2.95.x wouldn't output anything for -dM -dD, 2.96-RH and 3.0.x x<=4
> would print weirdo output containing lines like
> # 24 "(null)"(null)
> and current 3.1 was ICEing).
>
> Ok to commit?
Looks good. Thanks for finding this. Please try to write some test
cases.
zw