diff options
author | Robert Dewar <dewar@adacore.com> | 2005-11-15 14:51:27 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-11-15 14:51:27 +0100 |
commit | 0d268911a44bf4ecc845f4f1c212999d3d751ca4 (patch) | |
tree | e54b0d0f1f3af51f07c6e177453dbe50f24fccea /gcc/ada/s-vaflop.ads | |
parent | f02b8bb877f4e1000c92df67b4a8b5b1efc263bd (diff) | |
download | gcc-0d268911a44bf4ecc845f4f1c212999d3d751ca4.zip gcc-0d268911a44bf4ecc845f4f1c212999d3d751ca4.tar.gz gcc-0d268911a44bf4ecc845f4f1c212999d3d751ca4.tar.bz2 |
exp_vfpt.adb: Handle /= case
2005-11-14 Robert Dewar <dewar@adacore.com>
* exp_vfpt.adb: Handle /= case
(Expand_Vax_Conversion): Properly recognize Conversion_OK flag
so that we do not get duplicate scaling for fixed point conversions.
* s-vaflop.ads, s-vaflop.adb: (Ne_F): New function
From-SVN: r106951
Diffstat (limited to 'gcc/ada/s-vaflop.ads')
-rw-r--r-- | gcc/ada/s-vaflop.ads | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/s-vaflop.ads b/gcc/ada/s-vaflop.ads index a7bfc93..9f205d4 100644 --- a/gcc/ada/s-vaflop.ads +++ b/gcc/ada/s-vaflop.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1997-2005 Free Software Foundation, Inc. -- +-- Copyright (C) 1997-2005, 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- -- @@ -139,6 +139,10 @@ package System.Vax_Float_Operations is function Lt_G (X, Y : G) return Boolean; -- Compares for X < Y + function Ne_F (X, Y : F) return Boolean; + function Ne_G (X, Y : G) return Boolean; + -- Compares for X /= Y + ---------------------------------- -- Routines for Valid Attribute -- ---------------------------------- @@ -218,6 +222,8 @@ private pragma Inline (Le_G); pragma Inline (Lt_F); pragma Inline (Lt_G); + pragma Inline (Ne_F); + pragma Inline (Ne_G); pragma Inline (Valid_D); pragma Inline (Valid_F); |