summaryrefslogtreecommitdiffstats
path: root/gcc/ada/sem_type.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-29 08:32:46 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-29 08:32:46 +0000
commit568b0f6a9b978ee5176f134c080996981a4f3a2f (patch)
tree1eaaee9053b9ce0eacb82764012f0bd486fa3c54 /gcc/ada/sem_type.adb
parent789386c83faa43c5d48a73d1bc0c923ecbb4a947 (diff)
downloadppe42-gcc-568b0f6a9b978ee5176f134c080996981a4f3a2f.tar.gz
ppe42-gcc-568b0f6a9b978ee5176f134c080996981a4f3a2f.zip
2011-08-29 Robert Dewar <dewar@adacore.com>
* sem_type.adb, einfo.ads, freeze.adb, exp_ch4.adb, sem_ch13.adb: Minor reformatting. 2011-08-29 Hristian Kirtchev <kirtchev@adacore.com> * exp_util.adb (Requires_Cleanup_Actions (List_Id, Boolean, Boolean)): Correct the check which involves the freeze node of a controlled or access-to-controlled type. 2011-08-29 Geert Bosch <bosch@adacore.com> * sem_warn.adb (Check_Code_Statement): Remove check for consecutive Asm statements. * s-vaflop-vms-alpha.adb: Remove bogus Volatile => True arguments from Asm statements. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178160 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_type.adb')
-rw-r--r--gcc/ada/sem_type.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_type.adb b/gcc/ada/sem_type.adb
index c4d42a305ef..28b161ce8d5 100644
--- a/gcc/ada/sem_type.adb
+++ b/gcc/ada/sem_type.adb
@@ -627,7 +627,7 @@ package body Sem_Type is
-- within the instance must not be included.
if (Scope (H) = Scope (Ent)
- or else Scope (H) = Scope (Scope (Ent)))
+ or else Scope (H) = Scope (Scope (Ent)))
and then In_Instance
and then H /= Renamed_Entity (Ent)
and then not Is_Inherited_Operation (H)
OpenPOWER on IntegriCloud