This is the mail archive of the gcc@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: Macros that are defined under config but not used anywhere.


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


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