summaryrefslogtreecommitdiff
path: root/gcc/ada/gnat1drv.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-23 10:43:30 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-23 10:43:30 +0000
commit1240b98d131e91e8bc8080ec89b8ba36936cff87 (patch)
tree003413f638569a3555ab06e70ab2039cc817b977 /gcc/ada/gnat1drv.adb
parenta10589eeefa9b3535387a12949f8cc01edbe6a56 (diff)
downloadgcc-1240b98d131e91e8bc8080ec89b8ba36936cff87.tar.gz
2015-10-23 Hristian Kirtchev <kirtchev@adacore.com>
* exp_ch7.adb (Process_Transient_Objects): Reimplement to properly handle restriction No_Exception_Propagation. * exp_ch11.adb (Expand_At_End_Handler): Update the parameter profile and all references to Block. * exp_ch11.ads (Expand_At_End_Handler): Update the parameter profile and comment on usage. * exp_intr.adb (Expand_Unc_Deallocation): Reimplement to properly handle restriction No_Exception_Propagation. * gnat1drv.adb, restrict.adb: Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229227 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gnat1drv.adb')
-rw-r--r--gcc/ada/gnat1drv.adb5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/ada/gnat1drv.adb b/gcc/ada/gnat1drv.adb
index 2284caf8c90..bd3af2ef271 100644
--- a/gcc/ada/gnat1drv.adb
+++ b/gcc/ada/gnat1drv.adb
@@ -378,10 +378,7 @@ procedure Gnat1drv is
Optimization_Level := 0;
-- Enable some restrictions systematically to simplify the generated
- -- code (and ease analysis). Note that restriction checks are also
- -- disabled in SPARK mode, see Restrict.Check_Restriction, and user
- -- specified Restrictions pragmas are ignored, see
- -- Sem_Prag.Process_Restrictions_Or_Restriction_Warnings.
+ -- code (and ease analysis).
Restrict.Restrictions.Set (No_Initialize_Scalars) := True;