summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_elab.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-22 15:41:47 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-22 15:41:47 +0000
commitdaccf568edbe675c1a88520617a4121e589961a0 (patch)
tree2a42d62a1cd9d789d854dd9c4d0a9e028bd02546 /gcc/ada/sem_elab.adb
parent4a9795a6b679c0ce07c2bf523e6148c139a0a3da (diff)
downloadgcc-daccf568edbe675c1a88520617a4121e589961a0.tar.gz
2010-06-22 Thomas Quinot <quinot@adacore.com>
* sem_elab.adb: Minor reformatting. 2010-06-22 Vincent Celier <celier@adacore.com> * gnatsym.adb: Put the object files in the table in increasing aphabetical order of base names. 2010-06-22 Ed Schonberg <schonberg@adacore.com> * sem_ch8.adb (Set_Entity_Or_Discriminal): New procedure used by Find_Direct_Name and Find_Expanded_Name, to replace a discriminant with the corresponding discriminal within a record declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161196 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_elab.adb')
-rw-r--r--gcc/ada/sem_elab.adb4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ada/sem_elab.adb b/gcc/ada/sem_elab.adb
index 452f1e36e53..74aac9e5e0e 100644
--- a/gcc/ada/sem_elab.adb
+++ b/gcc/ada/sem_elab.adb
@@ -599,9 +599,7 @@ package body Sem_Elab is
-- No checks needed for pure or preelaborated compilation units
- if Is_Pure (E_Scope)
- or else Is_Preelaborated (E_Scope)
- then
+ if Is_Pure (E_Scope) or else Is_Preelaborated (E_Scope) then
return;
end if;