aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/frontend.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2012-08-06 09:58:49 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2012-08-06 09:58:49 +0200
commit5eeeed5e1a9ee8ea9fbff247c9cc6fd093fa5dcd (patch)
treec4b0667b7b66db54d5d049e343e45682c37df54a /gcc/ada/frontend.adb
parentb5ee491c7bf77f6355ae205dfd5779ac7ed6a00d (diff)
downloadgcc-5eeeed5e1a9ee8ea9fbff247c9cc6fd093fa5dcd.zip
gcc-5eeeed5e1a9ee8ea9fbff247c9cc6fd093fa5dcd.tar.gz
gcc-5eeeed5e1a9ee8ea9fbff247c9cc6fd093fa5dcd.tar.bz2
[multiple changes]
2012-08-06 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch7.adb (Process_Transient_Objects): Remove obsolete loop processing related to array initialization. The expansion of loops already contains a mechanism to detect controlled objects generated by expansion and introduce a block around the loop statements for finalization purposes. 2012-08-06 Vincent Pucci <pucci@adacore.com> * sem_ch13.adb: Current scope must be within or same as the scope of the entity while analysing aspect specifications at freeze point. 2012-08-06 Thomas Quinot <quinot@adacore.com> * par_sco.adb: Add note about dubious SCO for TERMINATE alternative. * sem_ch8.adb, exp_ch11.adb: Minor reformatting. 2012-08-06 Ed Schonberg <schonberg@adacore.com> * exp_aggr.adb (Two_Dim_Packed_Array_Handled): New procedure to transform an aggregate for a packed two-dimensional array into a one-dimensional array of constant values, in order to avoid the generation of component-by-component assignments. 2012-08-06 Thomas Quinot <quinot@adacore.com> * frontend.adb: Do not attempt to process deferred configuration pragmas if the main unit failed to load, to avoid cascaded inconsistencies that can lead to a compiler crash. From-SVN: r190161
Diffstat (limited to 'gcc/ada/frontend.adb')
-rw-r--r--gcc/ada/frontend.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/frontend.adb b/gcc/ada/frontend.adb
index 35e7d9e7..13d2833 100644
--- a/gcc/ada/frontend.adb
+++ b/gcc/ada/frontend.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2011, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2012, 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- --
@@ -282,6 +282,7 @@ begin
-- a context for their semantic processing.
if Config_Pragmas /= Error_List
+ and then not Fatal_Error (Main_Unit)
and then Operating_Mode /= Check_Syntax
then
-- Pragmas that require some semantic activity, such as