r148589 - in /trunk/gcc/ada: ChangeLog gcc-inte...

hainque@gcc.gnu.org hainque@gcc.gnu.org
Wed Jun 17 08:58:00 GMT 2009


Author: hainque
Date: Wed Jun 17 08:58:35 2009
New Revision: 148589

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148589
Log:
        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.


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/decl.c
    trunk/gcc/ada/gnat_rm.texi
    trunk/gcc/ada/sem_prag.adb



More information about the Gcc-cvs mailing list