aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/targtyps.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2012-04-26 12:49:44 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2012-04-26 12:49:44 +0200
commit7989e39224e4be7cdd904dce1cacebfa4a7a7b3b (patch)
tree07c125838100e1cb99ff72e51f47b6efe1b08a7a /gcc/ada/gcc-interface/targtyps.c
parentd99ff0f407dadb7b1e576416c5de4dce43151222 (diff)
downloadgcc-7989e39224e4be7cdd904dce1cacebfa4a7a7b3b.zip
gcc-7989e39224e4be7cdd904dce1cacebfa4a7a7b3b.tar.gz
gcc-7989e39224e4be7cdd904dce1cacebfa4a7a7b3b.tar.bz2
[multiple changes]
2012-04-26 Tristan Gingold <gingold@adacore.com> * 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 <hainque@adacore.com> * gcc-interface/targtyps.c (WIDEST_HARDWARE_FP_SIZE): Default to DOUBLE_TYPE_SIZE instead of LONG_DOUBLE_TYPE_SIZE. 2012-04-26 Hristian Kirtchev <kirtchev@adacore.com> * a-calend.adb (Day_Of_Week): Keep the internal usage of UTC_Time_Offset consistent with Time_Of and Split. From-SVN: r186872
Diffstat (limited to 'gcc/ada/gcc-interface/targtyps.c')
-rw-r--r--gcc/ada/gcc-interface/targtyps.c9
1 files changed, 7 insertions, 2 deletions
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