TARGET_ATTRIBUTE_TABLE / TARGET_COMP_TYPE_ATTRIBUTES

Gunther Nikl gni@gecko.de
Wed Apr 2 11:20:00 GMT 2003


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



More information about the Gcc mailing list