OSDN Git Service

Relax constraints on Machine_Attribute argument types:
authorhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jun 2009 08:58:35 +0000 (08:58 +0000)
committerhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jun 2009 08:58:35 +0000 (08:58 +0000)
commitf7d7d45e4122623454e2c5d7cadcbaf77eb2de33
treeaa75a40b9083178acea3520fb04e4af0469d6b59
parentb1e84b78f55b4bee35e428f1434d8450fcdb0a17
    Relax constraints on Machine_Attribute argument types:
        * sem_prag.adb (Check_Arg_Is_Static_Expression): Allow for
        missing type.
        (Analyze_Attribute, case Machine_Attribute): Allow any type for
        arg 3.
        * gcc-interface/decl.c (prepend_attributes): Accept static
        expressions of any type as attribute arguments, not only string
        literals.
        * gnat_rm.texi (pragma Machine_Attribute section): Adjust to
        reflect the relaxation of the restriction on the Info argument type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148589 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gnat_rm.texi
gcc/ada/sem_prag.adb