diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-29 12:58:32 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-29 12:58:32 +0200 |
commit | 718f39dcc150d25458c3f49e08c5114dbfec64e8 (patch) | |
tree | 6e1b74a6ffa6d93257d6fe4f61aa7566838333fe /gcc/ada/a-ngelfu.adb | |
parent | ee2e3f6bb4978d0b148e7458dd6915dbc28fdaf3 (diff) | |
download | gcc-718f39dcc150d25458c3f49e08c5114dbfec64e8.zip gcc-718f39dcc150d25458c3f49e08c5114dbfec64e8.tar.gz gcc-718f39dcc150d25458c3f49e08c5114dbfec64e8.tar.bz2 |
[multiple changes]
2011-08-29 Tristan Gingold <gingold@adacore.com>
* s-interr-hwint.adb: Revert previous patch (defer aborts in ZCX case).
2011-08-29 Geert Bosch <bosch@adacore.com>
* a-ngelfu.adb (Tan): Do not raise Constraint_Error if the argument is
the closest machine number to Pi / 2.0.
2011-08-29 Jose Ruiz <ruiz@adacore.com>
* impunit.adb (Non_Imp_File_Names_12): Add a-synbar for new Ada 2012
package Ada.Synchronous_Barriers.
* a-synbar.ads, a-synbar.adb, a-synbar-posix.ads, a-synbar-posix.adb:
Add new specs and bodies for Ada.Synchronous_Barriers. There is a
default implementation using protected objects and another one
a-synbar-posix using POSIX barriers as the underlying support.
* gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS for Linux (x86,
x86_64, ia64) and MIPS IRIX): Use the a-synbar-posix implementation of
Ada.Synchronous_Barriers which uses POSIX barriers (more efficient).
* Makefile.rtl (GNATRTL_TASKING_OBJS): Add a-synbar.o
From-SVN: r178200
Diffstat (limited to 'gcc/ada/a-ngelfu.adb')
-rw-r--r-- | gcc/ada/a-ngelfu.adb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/ada/a-ngelfu.adb b/gcc/ada/a-ngelfu.adb index b615f9d..7091054 100644 --- a/gcc/ada/a-ngelfu.adb +++ b/gcc/ada/a-ngelfu.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2011, 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- -- @@ -914,9 +914,6 @@ package body Ada.Numerics.Generic_Elementary_Functions is begin if abs X < Sqrt_Epsilon then return X; - - elsif abs X = Pi / 2.0 then - raise Constraint_Error; end if; return Float_Type'Base (Aux.Tan (Double (X))); |