diff options
author | Robert Dewar <dewar@adacore.com> | 2009-06-17 08:58:35 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2009-06-17 08:58:35 +0000 |
commit | d81b4c614be057ac515828a6b7a92745a542c551 (patch) | |
tree | aa75a40b9083178acea3520fb04e4af0469d6b59 /gcc/tree-ssa-structalias.c | |
parent | a4d99c865e40ce9ff43b6463324c00c31c6ea66e (diff) | |
download | gcc-d81b4c614be057ac515828a6b7a92745a542c551.zip gcc-d81b4c614be057ac515828a6b7a92745a542c551.tar.gz gcc-d81b4c614be057ac515828a6b7a92745a542c551.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions