summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch11.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2013-10-15 12:28:02 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2013-10-15 12:28:02 +0200
commitb9ec846384e6908fe4d9aff0703c5ae320d3f366 (patch)
tree1e35ec4a8dd55cd03b45f7e01b0963336d4a641c /gcc/ada/exp_ch11.adb
parent24f161fddabfaae005e73795c676b2701ecbef60 (diff)
downloadgcc-b9ec846384e6908fe4d9aff0703c5ae320d3f366.tar.gz
[multiple changes]
2013-10-15 Tristan Gingold <gingold@adacore.com> * adaint.c (__gnat_get_executable_load_address): Remove AIX specific code. 2013-10-15 Ed Schonberg <schonberg@adacore.com> * exp_aggr.adb (Aggr_Size_OK): Refine criteria to better handle large static aggregates with static record components, to avoid generating a large number of asignments. Conversely, improve handling of aggregates initialized by a single association, which are most efficiently implemented with a loop. 2013-10-15 Hristian Kirtchev <kirtchev@adacore.com> * sem_prag.adb (Analyze_Input_Item): Emit an error when the input item comes from the related package. 2013-10-15 Arnaud Charlet <charlet@adacore.com> * exp_ch11.adb (Expand_Exception_Handlers): Restrict previous change. From-SVN: r203593
Diffstat (limited to 'gcc/ada/exp_ch11.adb')
-rw-r--r--gcc/ada/exp_ch11.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/exp_ch11.adb b/gcc/ada/exp_ch11.adb
index c5abb228a17..90628a05a79 100644
--- a/gcc/ada/exp_ch11.adb
+++ b/gcc/ada/exp_ch11.adb
@@ -1029,7 +1029,8 @@ package body Exp_Ch11 is
-- will insert a call to initialize the choice parameter.
if Present (Choice_Parameter (Handler))
- and then Exception_Mechanism /= Back_End_Exceptions
+ and then (Exception_Mechanism /= Back_End_Exceptions
+ or else CodePeer_Mode)
then
declare
Cparm : constant Entity_Id := Choice_Parameter (Handler);