Macros that are defined under config but not used anywhere.

Zack Weinberg zack@codesourcery.com
Fri Feb 6 01:36:00 GMT 2004


Jim Wilson <wilson@specifixinc.com> writes:

>> UNW_FLAG_MASK
>> UNW_FLAG_OSMASK
>> UNW_VER
>
> These are all defined for completeness.  An unwind header has 6
> fields,
...

Ulrich Weigand <weigand@i1.informatik.uni-erlangen.de> writes:
>>ADDR_REG_P
>>FRAME_REG_P
>>TARGET_CPU_IEEE_FLOAT
>
> These are defined for completeness (one xxx_REG_P for every xxx_REGNO_P,
> one TARGET_CPU_xxx for every PF_xxx)
...

In all such cases, perhaps the best thing is to add comments noting
that the macros are unused but present for completeness.

zw



More information about the Gcc mailing list