diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-06-11 14:37:07 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-06-11 14:37:07 +0200 |
commit | e9daba516938491b64759703018edc71b928bfad (patch) | |
tree | 87a8b227d47c0d341a4fb98206bd08b7e94fb625 /gcc/ada/switch-c.adb | |
parent | f852ffee9a67e7a12fd8222de726df01e743b3f5 (diff) | |
download | gcc-e9daba516938491b64759703018edc71b928bfad.zip gcc-e9daba516938491b64759703018edc71b928bfad.tar.gz gcc-e9daba516938491b64759703018edc71b928bfad.tar.bz2 |
[multiple changes]
2014-06-11 Robert Dewar <dewar@adacore.com>
* gnat_rm.texi, switch-c.adb, sem_prag.adb, a-tgdico.ads, par-prag.adb,
opt.ads, a-finali.ads, snames.ads-tmpl: Remove all traces of
pragma/aspects Pure_05 Pure_12 Preelaborate_05.
* errout.adb (Output_Messages): Avoid duplicate output for
library level instance.
* sem_elab.adb (Is_Call_Of_Generic_Formal): Moved to outer level
(Check_Elab_Call): Add call to Is_Call_Of_Generic_Formal
* exp_ch4.adb (Expand_N_Op_Expon): New interface for Exp_Modular.
* s-expmod.ads, s-expmod.adb (Exp_Modular): Change interface to
accomodate largest modulus value.
* gnat_ugn.texi: Minor updates.
2014-06-11 Ed Schonberg <schonberg@adacore.com>
* sem_ch12.adb (Instantiate_Package_Body): Do not attempt to
load body of generic package or its parent, if body is optional
and the unit does not require a body.
From-SVN: r211459
Diffstat (limited to 'gcc/ada/switch-c.adb')
-rw-r--r-- | gcc/ada/switch-c.adb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/ada/switch-c.adb b/gcc/ada/switch-c.adb index e7e32eb..e2f7c2e 100644 --- a/gcc/ada/switch-c.adb +++ b/gcc/ada/switch-c.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 2001-2013, Free Software Foundation, Inc. -- +-- Copyright (C) 2001-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -815,11 +815,6 @@ package body Switch.C is System_Extend_Unit := Empty; Warning_Mode := Treat_As_Error; Style_Check_Main := True; - - -- Set Ada 2012 mode explicitly. We don't want to rely on the - -- implicit setting here, since for example, we want - -- Preelaborate_05 treated as Preelaborate - Ada_Version := Ada_2012; Ada_Version_Explicit := Ada_2012; Ada_Version_Pragma := Empty; |