This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix cpp ICE (regression from 2.95.x or 3.0.4)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]