aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch3.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2015-05-26 12:42:26 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2015-05-26 12:42:26 +0200
commitb68cf874f69d47c08479f4b0e7bcd1d55d65d06b (patch)
tree1f417d3b2712348bd8f2b06a57f72d67dd16d7d5 /gcc/ada/sem_ch3.adb
parentff1bedacc81800f47632971f6474e4e2f9cfb86f (diff)
downloadgcc-b68cf874f69d47c08479f4b0e7bcd1d55d65d06b.zip
gcc-b68cf874f69d47c08479f4b0e7bcd1d55d65d06b.tar.gz
gcc-b68cf874f69d47c08479f4b0e7bcd1d55d65d06b.tar.bz2
[multiple changes]
2015-05-26 Robert Dewar <dewar@adacore.com> * sem_ch3.adb, sem_aux.adb, sem_aux.ads, exp_ch6.adb, sprint.adb: Minor reformatting. 2015-05-26 Gary Dismukes <dismukes@adacore.com> * gnat1drv.adb, targparm.adb, targparm.ads, restrict.adb: Minor reformatting and typo fixes in comments. 2015-05-26 Ed Schonberg <schonberg@adacore.com> * sem_ch7.adb (Swap_Private_Dependets): Set visibility of the two views of a private dependent in two separate steps, to ensure proper visibility in parent units analyzed for inlining. From-SVN: r223682
Diffstat (limited to 'gcc/ada/sem_ch3.adb')
-rw-r--r--gcc/ada/sem_ch3.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb
index 1940b3b..a46b651 100644
--- a/gcc/ada/sem_ch3.adb
+++ b/gcc/ada/sem_ch3.adb
@@ -4264,7 +4264,7 @@ package body Sem_Ch3 is
and then not Is_Constrained (T)
and then Has_Discriminants (T)
and then (Ada_Version < Ada_2005
- or else not Is_Definite_Subtype (T))
+ or else not Is_Definite_Subtype (T))
then
Set_Actual_Subtype (Id, Build_Default_Subtype (T, N));
end if;