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: RFC: preprocessor option to dump "used" macros


>>>>> "Joseph" == Joseph S Myers <joseph@codesourcery.com> writes:

Joseph> The peculiarities of the meaning of "used" come from a customer
Joseph> specification.  In particular, undefined names tested in #ifdef,
Joseph> #ifndef or a defined() preprocessor expression have #undef dumped for
Joseph> them, but identifiers in text that would have been expanded if they
Joseph> were defined as macros (but were not expanded because they weren't
Joseph> defined as macros) are not noted in that way.

Makes sense to me.  Maybe this paragraph could go into the source
somewhere.

Joseph> Do people think this particular specification is of use for FSF GCC

It would be fine by me.

Tom


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