From 7989e39224e4be7cdd904dce1cacebfa4a7a7b3b Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Thu, 26 Apr 2012 12:49:44 +0200 Subject: [multiple changes] 2012-04-26 Tristan Gingold * gcc-interface/Make-lang.in: Update dependencies. Remove s-traceb and tracebak objects from gnat1 and gnatbind (not used). Remove s-tasdeb and s-vaflop rules (not used). 2012-04-26 Olivier Hainque * gcc-interface/targtyps.c (WIDEST_HARDWARE_FP_SIZE): Default to DOUBLE_TYPE_SIZE instead of LONG_DOUBLE_TYPE_SIZE. 2012-04-26 Hristian Kirtchev * a-calend.adb (Day_Of_Week): Keep the internal usage of UTC_Time_Offset consistent with Time_Of and Split. From-SVN: r186872 --- gcc/ada/gcc-interface/targtyps.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gcc/ada/gcc-interface/targtyps.c') diff --git a/gcc/ada/gcc-interface/targtyps.c b/gcc/ada/gcc-interface/targtyps.c index 78df4dd..cfc45e7 100644 --- a/gcc/ada/gcc-interface/targtyps.c +++ b/gcc/ada/gcc-interface/targtyps.c @@ -6,7 +6,7 @@ * * * Body * * * - * 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- * @@ -54,8 +54,13 @@ #define ADA_LONG_TYPE_SIZE LONG_TYPE_SIZE #endif +/* If we don't have a target definition of WIDEST_HARDWARE_FP_SIZE, assume + DOUBLE_TYPE_SIZE. We used to default to LONG_DOUBLE_TYPE_SIZE, which now + most often maps 128 bits implemented with very inefficient software + emulations so is incorrect as a hardware size estimate. */ + #ifndef WIDEST_HARDWARE_FP_SIZE -#define WIDEST_HARDWARE_FP_SIZE LONG_DOUBLE_TYPE_SIZE +#define WIDEST_HARDWARE_FP_SIZE DOUBLE_TYPE_SIZE #endif /* The following provide a functional interface for the front end Ada code -- cgit v1.1