mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
Ada: Fix build failure for 32-bit libada on FreeBSD
The FreeBSD-specific subunit has not been adjusted to the renaming. gcc/ada/ PR ada/125168 * libgnat/s-dorepr__freebsd.adb (Two_Prod): Adjust to renaming. (Two_Sqr): Likewise.
This commit is contained in:
@@ -134,7 +134,7 @@ package body Product is
|
||||
Ahi, Alo, Bhi, Blo, E : Num;
|
||||
|
||||
begin
|
||||
if Is_Infinity (P) or else Is_Zero (P) then
|
||||
if Is_Infinity_Or_NaN (P) or else Is_Zero (P) then
|
||||
return (P, 0.0);
|
||||
|
||||
else
|
||||
@@ -157,7 +157,7 @@ package body Product is
|
||||
Hi, Lo, E : Num;
|
||||
|
||||
begin
|
||||
if Is_Infinity (Q) or else Is_Zero (Q) then
|
||||
if Is_Infinity_Or_NaN (Q) or else Is_Zero (Q) then
|
||||
return (Q, 0.0);
|
||||
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user