diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-12-02 15:54:08 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-12-02 15:54:08 +0100 |
commit | 414b312e6cb5355c3fe83472eee624adb14f2e0f (patch) | |
tree | e89f4cf3b8b8fda8f0216c18afc94ec7dfa99bd4 /gcc/ada/checks.adb | |
parent | 151c42b0b5d8606b9b40eddbd396a8c93432c12f (diff) | |
download | gcc-414b312e6cb5355c3fe83472eee624adb14f2e0f.zip gcc-414b312e6cb5355c3fe83472eee624adb14f2e0f.tar.gz gcc-414b312e6cb5355c3fe83472eee624adb14f2e0f.tar.bz2 |
[multiple changes]
2011-12-02 Bob Duff <duff@adacore.com>
* gnat_ugn.texi: Clarify usage of -p binder switch.
2011-12-02 Javier Miranda <miranda@adacore.com>
* sem_util.ads, sem_util.adb, sem_aux.ads, sem_aux.adb
(Effectively_Has_Constrained_Partial_View): Moved to sem_aux
(In_Generic_Body): Moved to sem_aux.
(Unit_Declaration_Node): Moved to sem_aux.
* einfo.ads (Effectively_Has_Constrained_Partial_View): Complete
documentation.
* exp_attr.adb, live.adb, sem_ch10.adb, checks.adb, sem.adb,
rtsfind.adb, sem_attr.adb, sem_elab.adb, exp_ch4.adb, sem_ch4.adb,
exp_ch13.adb: Add with-clause on Sem_Aux.
From-SVN: r181917
Diffstat (limited to 'gcc/ada/checks.adb')
-rw-r--r-- | gcc/ada/checks.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/checks.adb b/gcc/ada/checks.adb index ceaae4a..5383bd8 100644 --- a/gcc/ada/checks.adb +++ b/gcc/ada/checks.adb @@ -1240,7 +1240,9 @@ package body Checks is -- partial view that is constrained. elsif Ada_Version >= Ada_2005 - and then Effectively_Has_Constrained_Partial_View (Base_Type (T_Typ)) + and then Effectively_Has_Constrained_Partial_View + (Typ => Base_Type (T_Typ), + Scop => Current_Scope) then return; end if; |