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]

TARGET_ATTRIBUTE_TABLE / TARGET_COMP_TYPE_ATTRIBUTES


Hello!

What is the correct approach to insert additional entries into a generic
TARGET_ATTRIBUTE_TABLE for a certain target? Should it be done like this:

  #ifdef IDENTIFIER
    IDENTIFIER
  #endif

with IDENTIFIER defined by <target.h>?

Should chaining TARGET_COMP_TYPE_ATTRIBUTES be done in a similiar way if
a target needs additional checks?

Thank you,
Gunther Nikl


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