]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/ChangeLog
Relax constraints on Machine_Attribute argument types:
authorRobert Dewar <dewar@adacore.com>
Wed, 17 Jun 2009 08:58:35 +0000 (08:58 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Wed, 17 Jun 2009 08:58:35 +0000 (08:58 +0000)
commitd81b4c614be057ac515828a6b7a92745a542c551
treeaa75a40b9083178acea3520fb04e4af0469d6b59
parenta4d99c865e40ce9ff43b6463324c00c31c6ea66e
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.

Co-Authored-By: Olivier Hainque <hainque@adacore.com>
From-SVN: r148589
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gnat_rm.texi
gcc/ada/sem_prag.adb
This page took 0.057646 seconds and 5 git commands to generate.