This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
TARGET_ATTRIBUTE_TABLE / TARGET_COMP_TYPE_ATTRIBUTES
- From: Gunther Nikl <gni at gecko dot de>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 2 Apr 2003 11:14:56 +0200
- Subject: TARGET_ATTRIBUTE_TABLE / TARGET_COMP_TYPE_ATTRIBUTES
- References: <20030321145840.GB15432@lorien.int.gecko.de>
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