other/823: gcc -U does not undef a macro

Neil Booth neilb@earthling.net
Thu Nov 16 16:13:00 GMT 2000


Hi Richard,

It does actually undefine it, but it gets processed before -D :-(

This is a gcc.c specs issue; I don't think fixing it is entirely
trivial.  We need gcc.c to pass all -D and -U options in the order
they appear, and not to group them like it currently does.

Neil.

Richard Earnshaw wrote:-
> 
> >Number:         823
> >Category:       other
> >Synopsis:       preprocessor -U does not undef a macro
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    unassigned
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Thu Nov 16 15:36:00 PST 2000
> >Closed-Date:
> >Last-Modified:
> >Originator:     Richard Earnshaw
> >Release:        2.97 20001114 (experimental)
> >Organization:
> ARM


More information about the Gcc-bugs mailing list