From 4ecb1318b5412249a2c174b89924fd3cdb7e1ec2 Mon Sep 17 00:00:00 2001 From: charlet Date: Tue, 2 Aug 2011 15:47:39 +0000 Subject: 2011-08-02 Robert Dewar * a-direct.adb, sinfo.ads, exp_ch9.adb, scng.adb, sem_util.adb, sem_util.ads, restrict.ads, par-prag.adb: Minor reformatting and/or code reorganization. 2011-08-02 Robert Dewar * debug.adb: Debug flag d.P to suppress length comparison optimization * exp_ch4.adb (Optimize_Length_Comparison): New routine to optimize comparison of Length by comparing First/Last instead. 2011-08-02 Matthew Heaney * a-cobove.ads: Code clean up. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177190 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/debug.adb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc/ada/debug.adb') diff --git a/gcc/ada/debug.adb b/gcc/ada/debug.adb index 8f386093957..65af4de796d 100644 --- a/gcc/ada/debug.adb +++ b/gcc/ada/debug.adb @@ -133,7 +133,7 @@ package body Debug is -- d.M -- d.N -- d.O Dump internal SCO tables - -- d.P + -- d.P Previous (non-optimized) handling of length comparisons -- d.Q -- d.R -- d.S Force Optimize_Alignment (Space) @@ -597,6 +597,11 @@ package body Debug is -- the ALI file, the internal SCO tables (SCO_Table/SCO_Unit_Table) -- are dumped for debugging purposes. + -- d.P Previous non-optimized handling of length comparisons. Setting this + -- flag inhibits the effect of Optimize_Length_Comparison in Exp_Ch4. + -- This is there in case we find a situation where the optimization + -- malfunctions, to provide a work around. + -- d.S Force Optimize_Alignment (Space) mode as the default -- d.T Force Optimize_Alignment (Time) mode as the default -- cgit v1.2.1