From 088c7e1b0c52db7fa81623ab5b0795a89b41f054 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Fri, 22 May 2015 15:33:18 +0200 Subject: [multiple changes] 2015-05-22 Ed Schonberg * sem_ch3.adb (Constrain_Concurrent): If the context is a type declaration, generate an Itype_Reference for the anonymous subtype, to force elaboration at this point in gigi. 2015-05-22 Gary Dismukes * layout.adb, einfo.ads, sem_ch12.adb, freeze.adb, sem_util.ads, exp_ch4.adb, sem_ch6.adb: Minor reformatting and typo fixes. From-SVN: r223573 --- gcc/ada/exp_ch4.adb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/ada/exp_ch4.adb') diff --git a/gcc/ada/exp_ch4.adb b/gcc/ada/exp_ch4.adb index 0ef690b..7bd3c6b 100644 --- a/gcc/ada/exp_ch4.adb +++ b/gcc/ada/exp_ch4.adb @@ -7523,9 +7523,9 @@ package body Exp_Ch4 is Optimize_Length_Comparison (N); - -- One more special case, if we have a comparison of X'Result = expr + -- One more special case: if we have a comparison of X'Result = expr -- in floating-point, then if not already there, change expr to be - -- f'Machine (expr) to eliminate suprise from extra precision. + -- f'Machine (expr) to eliminate surprise from extra precision. if Is_Floating_Point_Type (Typl) and then Nkind (Original_Node (Lhs)) = N_Attribute_Reference -- cgit v1.1