diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2008-05-14 07:07:24 +0000 |
---|---|---|
committer | Samuel Tardieu <sam@gcc.gnu.org> | 2008-05-14 07:07:24 +0000 |
commit | eaa2f8c7e6ae12642905df0e518d58b724bccf5f (patch) | |
tree | 1939edff40cd3e3eb25681a742a9b0853753fd55 /gcc/cse.c | |
parent | 0beb3d66eabd1090b50ac68e1741756db72f595a (diff) | |
download | gcc-eaa2f8c7e6ae12642905df0e518d58b724bccf5f.zip gcc-eaa2f8c7e6ae12642905df0e518d58b724bccf5f.tar.gz gcc-eaa2f8c7e6ae12642905df0e518d58b724bccf5f.tar.bz2 |
sem_attr.adb (Analyze_Attribute, [...]): Add restrictions to the prefix of 'Old.
gcc/ada/
* sem_attr.adb (Analyze_Attribute, Attribute_Old case): Add
restrictions to the prefix of 'Old.
* sem_util.ads, sem_util.adb (In_Parameter_Specification): New.
* gnat_rm.texi ('Old): Note that 'Old cannot be applied to local
variables.
gcc/testsuite/
* gnat.dg/old_errors.ads, gnat.dg/old_errors.adb: New.
Co-Authored-By: Robert Dewar <dewar@adacore.com>
From-SVN: r135282
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions