Next: , Previous: Pragma Long_Float, Up: Implementation Defined Pragmas

Pragma Machine_Attribute


     pragma Machine_Attribute (
          [Entity         =>] LOCAL_NAME,
          [Attribute_Name =>] static_string_EXPRESSION
       [, [Info           =>] static_string_EXPRESSION] );

Machine-dependent attributes can be specified for types and/or declarations. This pragma is semantically equivalent to __attribute__((attribute_name)) (if info is not specified) or __attribute__((attribute_name(info))) in GNU C, where attribute_name is recognized by the target macro TARGET_ATTRIBUTE_TABLE which is defined for each machine. The optional parameter info is transformed into an identifier, which may make this pragma unusable for some attributes (parameter of some attributes must be a number or a string). See Defining target-specific uses of __attribute__, further information. It is not possible to specify attributes defined by other languages, only attributes defined by the machine the code is intended to run on.