aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/restrict.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-08-01 15:54:30 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-08-01 15:54:30 +0200
commit4887624ec89edfe47471a467732b9c85537b3ff5 (patch)
tree730356f0f97d8da4ff35bf55f0a7fb7f6e7f8da2 /gcc/ada/restrict.adb
parent625d8a9f892e44db98fcde6e600a6e023fb475a4 (diff)
downloadgcc-4887624ec89edfe47471a467732b9c85537b3ff5.zip
gcc-4887624ec89edfe47471a467732b9c85537b3ff5.tar.gz
gcc-4887624ec89edfe47471a467732b9c85537b3ff5.tar.bz2
[multiple changes]
2014-08-01 Eric Botcazou <ebotcazou@adacore.com> * sem_ch7.adb: Fix minor oversight in condition. 2014-08-01 Bob Duff <duff@adacore.com> * projects.texi: Minor documentation improvements. 2014-08-01 Robert Dewar <dewar@adacore.com> * aspects.ads, aspects.adb: Add aspect No_Elaboration_Code_All. * gnat_rm.texi: Document No_Elaboration_Code_All pragma and aspect. * lib-load.adb: Initialize No_Elab_Code_All field. * lib-writ.adb: Initialize No_Elab_Code_All. * lib.ads, lib.adb: New field No_Elab_Code_All. * par-prag.adb: Add dummy entry for pragma No_Elaboration_Code_All. * restrict.ads, restrict.adb: Restriction No_Elaboration_Code_All no longer exists. * sem_ch10.adb (Analyze_Context): Processing for No_Elaboration_Code_All removed. (Generate_Parent_References): Moved to Sem_Util. * sem_prag.adb: Add processing for pragma No_Elaboration_Code_All. * sem_util.ads, sem_util.adb (Get_Parent_Entity): Moved here from Sem_Ch10. * snames.ads-tmpl: Add entry for pragma No_Elaboration_Code_All. * targparm.adb: Minor comment updates Add comments on ignoring pragma No_Elaboration_Code_All. 2014-08-01 Nicolas Roche <roche@adacore.com> * adaint.c (__gnat_set_close_on_exec): Ensure that we can unset "close_on_exec" flag. 2014-08-01 Ed Schonberg <schonberg@adacore.com> * exp_ch9.adb (Build_Wrapper_Spec, Replicate_Formals): When building the parameter specs of the wrapper program for a primitive operation of a synchronized type that implements an interface, copy the null_exclusion indicator as well. 2014-08-01 Robert Dewar <dewar@adacore.com> * sem_eval.ads: Minor reformatting. From-SVN: r213466
Diffstat (limited to 'gcc/ada/restrict.adb')
-rw-r--r--gcc/ada/restrict.adb9
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/ada/restrict.adb b/gcc/ada/restrict.adb
index 237ee42..3027ffa 100644
--- a/gcc/ada/restrict.adb
+++ b/gcc/ada/restrict.adb
@@ -858,8 +858,8 @@ package body Restrict is
-- Process_Restriction_Synonyms --
----------------------------------
- -- Note: body of this function must be coordinated with list of
- -- renaming declarations in System.Rident.
+ -- Note: body of this function must be coordinated with list of renaming
+ -- declarations in System.Rident.
function Process_Restriction_Synonyms (N : Node_Id) return Name_Id
is
@@ -883,11 +883,6 @@ package body Restrict is
when Name_No_Task_Attributes =>
New_Name := Name_No_Task_Attributes_Package;
- -- No_Elaboration_Code_All is special, no warning needed
-
- when Name_No_Elaboration_Code_All =>
- return Name_No_Elaboration_Code;
-
-- SPARK is special in that we unconditionally warn
when Name_SPARK =>