aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_cat.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-04-08 15:59:47 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-08 15:59:47 +0200
commit2db15b1d05e7c42b11a0a7cdff27266189187ea3 (patch)
tree23093a5608fbec55e93dfbc2c683d545379350b8 /gcc/ada/sem_cat.adb
parent94fd3dc67710fa4d44903375d6257101b1d9fa95 (diff)
downloadgcc-2db15b1d05e7c42b11a0a7cdff27266189187ea3.zip
gcc-2db15b1d05e7c42b11a0a7cdff27266189187ea3.tar.gz
gcc-2db15b1d05e7c42b11a0a7cdff27266189187ea3.tar.bz2
[multiple changes]
2009-04-08 Robert Dewar <dewar@adacore.com> * ug_words: Add /ASSUME_VALID for -gnatB * vms_data.ads: Add /ASSUME_VALID for -gnatB * sem_cat.adb: Add clarifying commment * a-direio.ads (Bytes): Make sure value is non-zero 2009-04-08 Ed Schonberg <schonberg@adacore.com> * sem_util.adb (Is_Variable): If the prefix is an explicit dereference that does not come from source, check for a rewritten function call in prefixed notation before other forms of rewriting. 2009-04-08 Robert Dewar <dewar@adacore.com> * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since these are now obsolescent units used only for bootrapping with an older compiler. From-SVN: r145733
Diffstat (limited to 'gcc/ada/sem_cat.adb')
-rw-r--r--gcc/ada/sem_cat.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_cat.adb b/gcc/ada/sem_cat.adb
index 273c04f..03461d16 100644
--- a/gcc/ada/sem_cat.adb
+++ b/gcc/ada/sem_cat.adb
@@ -199,7 +199,7 @@ package body Sem_Cat is
if With_Category > Unit_Category then
-- Special case: Remote_Types and Remote_Call_Interface are allowed
- -- to be with'ed in package body.
+ -- with anything in the package body, per (RM E.2(5)).
if (Unit_Category = Remote_Types
or else Unit_Category = Remote_Call_Interface)