RFC: preprocessor option to dump "used" macros
Tom Tromey
tromey@redhat.com
Tue Apr 1 16:12:00 GMT 2008
>>>>> "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
More information about the Gcc-patches
mailing list