https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

            Bug ID: 94586
           Summary: trigd_lib.inc:84:28: error: implicit declaration of
                    function 'fmaf'
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11

libtool: compile:  /test/gnu/gcc/objdir/./gcc/xgcc
-B/test/gnu/gcc/objdir/./gcc/ -B/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/lib/ -isystem
/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/include -isystem
/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/sys-include -fchecking=1
-DHAVE_CONFIG_H -I. -I../../../gcc/libgfortran
-iquote../../../gcc/libgfortran/io -I../../../gcc/libgfortran/../gcc
-I../../../gcc/libgfortran/../gcc/config
-I../../../gcc/libgfortran/../libquadmath -I../.././gcc
-I../../../gcc/libgfortran/../libgcc -I../libgcc
-I../../../gcc/libgfortran/../libbacktrace -I../libbacktrace -I../libbacktrace
-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings
-Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules
-ffunction-sections -fdata-sections -g -O2 -MT trigd.lo -MD -MP -MF
.deps/trigd.Tpo -c ../../../gcc/libgfortran/intrinsics/trigd.c  -DPIC -o
.libs/trigd.o
../../../gcc/libgfortran/intrinsics/trigd.inc: In function 'sind_r4':
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: error: implicit
declaration of function 'fmaf' [-Werror=implicit-function-declaration]
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:102:4: note: in expansion of
macro 'D2R'
  102 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:102:4: note: in expansion of
macro 'D2R'
  102 |    D2R (x);
      |    ^~~
In file included from ../../../gcc/libgfortran/intrinsics/trigd_lib.inc:99,
                 from ../../../gcc/libgfortran/intrinsics/trigd.c:84:
../../../gcc/libgfortran/intrinsics/trigd.inc:1:1: note: include '<math.h>' or
provide a declaration of 'fmaf'
  +++ |+#include <math.h>
    1 | /* Implementation of the degree trignometric functions COSD, SIND,
TAND.
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:198:4: note: in expansion of
macro 'D2R'
  198 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:198:4: note: in expansion of
macro 'D2R'
  198 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc: In function 'cosd_r4':
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:338:4: note: in expansion of
macro 'D2R'
  338 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:338:4: note: in expansion of
macro 'D2R'
  338 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc: In function 'tand_r4':
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:382:4: note: in expansion of
macro 'D2R'
  382 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:382:4: note: in expansion of
macro 'D2R'
  382 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:448:4: note: in expansion of
macro 'D2R'
  448 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:448:4: note: in expansion of
macro 'D2R'
  448 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc: In function 'sind_r8':
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: error: implicit
declaration of function 'fma' [-Werror=implicit-function-declaration]
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:105:21: note: in definition of
macro 'SUFFIX'
  105 | #define SUFFIX(x)   x
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:102:4: note: in expansion of
macro 'D2R'
  102 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fma'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:105:21: note: in definition of
macro 'SUFFIX'
  105 | #define SUFFIX(x)   x
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:102:4: note: in expansion of
macro 'D2R'
  102 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fma'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:105:21: note: in definition of
macro 'SUFFIX'
  105 | #define SUFFIX(x)   x
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:102:4: note: in expansion of
macro 'D2R'
  102 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fma'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:105:21: note: in definition of
macro 'SUFFIX'
  105 | #define SUFFIX(x)   x
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:198:4: note: in expansion of
macro 'D2R'
  198 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fma'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:105:21: note: in definition of
macro 'SUFFIX'
  105 | #define SUFFIX(x)   x
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:198:4: note: in expansion of
macro 'D2R'
  198 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc: In function 'cosd_r8':
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fma'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:105:21: note: in definition of
macro 'SUFFIX'
  105 | #define SUFFIX(x)   x
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:338:4: note: in expansion of
macro 'D2R'
  338 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fma'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:105:21: note: in definition of
macro 'SUFFIX'
  105 | #define SUFFIX(x)   x
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:338:4: note: in expansion of
macro 'D2R'
  338 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc: In function 'tand_r8':
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fma'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:105:21: note: in definition of
macro 'SUFFIX'
  105 | #define SUFFIX(x)   x
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:382:4: note: in expansion of
macro 'D2R'
  382 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fma'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:105:21: note: in definition of
macro 'SUFFIX'
  105 | #define SUFFIX(x)   x
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:382:4: note: in expansion of
macro 'D2R'
  382 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fma'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:105:21: note: in definition of
macro 'SUFFIX'
  105 | #define SUFFIX(x)   x
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:448:4: note: in expansion of
macro 'D2R'
  448 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fma'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:105:21: note: in definition of
macro 'SUFFIX'
  105 | #define SUFFIX(x)   x
      |                     ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:448:4: note: in expansion of
macro 'D2R'
  448 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc: In function 'sind_r16':
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:55:56: error: implicit
declaration of function 'copysignl' [-Werror=implicit-function-declaration]
   55 | #define mpfr_copysign(rop, op1, op2, rnd) rop = SUFFIX(copysign)((op1),
(op2))
      |                                                        ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:92:7: note: in expansion of macro
'mpfr_copysign'
   92 |       mpfr_copysign (s, one, x, GFC_RND_MODE);
      |       ^~~~~~~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:55:56: warning: incompatible
implicit declaration of built-in function 'copysignl'
   55 | #define mpfr_copysign(rop, op1, op2, rnd) rop = SUFFIX(copysign)((op1),
(op2))
      |                                                        ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:92:7: note: in expansion of macro
'mpfr_copysign'
   92 |       mpfr_copysign (s, one, x, GFC_RND_MODE);
      |       ^~~~~~~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:55:56: note: include
'<math.h>' or provide a declaration of 'copysignl'
   55 | #define mpfr_copysign(rop, op1, op2, rnd) rop = SUFFIX(copysign)((op1),
(op2))
      |                                                        ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:92:7: note: in expansion of macro
'mpfr_copysign'
   92 |       mpfr_copysign (s, one, x, GFC_RND_MODE);
      |       ^~~~~~~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:57:46: error: implicit
declaration of function 'fabsl' [-Werror=implicit-function-declaration]
   57 | #define mpfr_abs(rop, op, rnd) (rop = SUFFIX(fabs)(op))
      |                                              ^~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:111:7: note: in expansion of
macro 'mpfr_abs'
  111 |       mpfr_abs (x, x, GFC_RND_MODE);
      |       ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:57:46: warning: incompatible
implicit declaration of built-in function 'fabsl'
   57 | #define mpfr_abs(rop, op, rnd) (rop = SUFFIX(fabs)(op))
      |                                              ^~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:111:7: note: in expansion of
macro 'mpfr_abs'
  111 |       mpfr_abs (x, x, GFC_RND_MODE);
      |       ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:57:46: note: include
'<math.h>' or provide a declaration of 'fabsl'
   57 | #define mpfr_abs(rop, op, rnd) (rop = SUFFIX(fabs)(op))
      |                                              ^~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:111:7: note: in expansion of
macro 'mpfr_abs'
  111 |       mpfr_abs (x, x, GFC_RND_MODE);
      |       ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: error: implicit
declaration of function 'fmal' [-Werror=implicit-function-declaration]
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:198:4: note: in expansion of
macro 'D2R'
  198 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fmal'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:198:4: note: in expansion of
macro 'D2R'
  198 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fmal'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:198:4: note: in expansion of
macro 'D2R'
  198 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:76:45: error: implicit
declaration of function 'cosl' [-Werror=implicit-function-declaration]
   76 | #define mpfr_cos(rop, x, rnd) (rop = SUFFIX(cos)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:201:6: note: in expansion of
macro 'mpfr_cos'
  201 |      mpfr_cos (x, x, GFC_RND_MODE);
      |      ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:76:45: warning: incompatible
implicit declaration of built-in function 'cosl'
   76 | #define mpfr_cos(rop, x, rnd) (rop = SUFFIX(cos)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:201:6: note: in expansion of
macro 'mpfr_cos'
  201 |      mpfr_cos (x, x, GFC_RND_MODE);
      |      ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:76:45: note: include
'<math.h>' or provide a declaration of 'cosl'
   76 | #define mpfr_cos(rop, x, rnd) (rop = SUFFIX(cos)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:201:6: note: in expansion of
macro 'mpfr_cos'
  201 |      mpfr_cos (x, x, GFC_RND_MODE);
      |      ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:75:45: error: implicit
declaration of function 'sinl' [-Werror=implicit-function-declaration]
   75 | #define mpfr_sin(rop, x, rnd) (rop = SUFFIX(sin)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:203:6: note: in expansion of
macro 'mpfr_sin'
  203 |      mpfr_sin (x, x, GFC_RND_MODE);
      |      ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:75:45: warning: incompatible
implicit declaration of built-in function 'sinl'
   75 | #define mpfr_sin(rop, x, rnd) (rop = SUFFIX(sin)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:203:6: note: in expansion of
macro 'mpfr_sin'
  203 |      mpfr_sin (x, x, GFC_RND_MODE);
      |      ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:75:45: note: include
'<math.h>' or provide a declaration of 'sinl'
   75 | #define mpfr_sin(rop, x, rnd) (rop = SUFFIX(sin)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:203:6: note: in expansion of
macro 'mpfr_sin'
  203 |      mpfr_sin (x, x, GFC_RND_MODE);
      |      ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd.inc: In function 'cosd_r16':
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:57:46: warning: incompatible
implicit declaration of built-in function 'fabsl'
   57 | #define mpfr_abs(rop, op, rnd) (rop = SUFFIX(fabs)(op))
      |                                              ^~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:234:7: note: in expansion of
macro 'mpfr_abs'
  234 |       mpfr_abs (ax, x, GFC_RND_MODE);
      |       ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:57:46: note: include
'<math.h>' or provide a declaration of 'fabsl'
   57 | #define mpfr_abs(rop, op, rnd) (rop = SUFFIX(fabs)(op))
      |                                              ^~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:234:7: note: in expansion of
macro 'mpfr_abs'
  234 |       mpfr_abs (ax, x, GFC_RND_MODE);
      |       ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:62:45: warning: incompatible
implicit declaration of built-in function 'copysignl'
   62 | #define mpfr_set_zero(rop, s) (rop = SUFFIX(copysign)(0, (s)))
      |                                             ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:271:6: note: in expansion of
macro 'mpfr_set_zero'
  271 |      mpfr_set_zero (x, 0);
      |      ^~~~~~~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:62:45: note: include
'<math.h>' or provide a declaration of 'copysignl'
   62 | #define mpfr_set_zero(rop, s) (rop = SUFFIX(copysign)(0, (s)))
      |                                             ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:271:6: note: in expansion of
macro 'mpfr_set_zero'
  271 |      mpfr_set_zero (x, 0);
      |      ^~~~~~~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fmal'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:338:4: note: in expansion of
macro 'D2R'
  338 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fmal'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:338:4: note: in expansion of
macro 'D2R'
  338 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:75:45: warning: incompatible
implicit declaration of built-in function 'sinl'
   75 | #define mpfr_sin(rop, x, rnd) (rop = SUFFIX(sin)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:341:6: note: in expansion of
macro 'mpfr_sin'
  341 |      mpfr_sin (x, x, GFC_RND_MODE);
      |      ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:75:45: note: include
'<math.h>' or provide a declaration of 'sinl'
   75 | #define mpfr_sin(rop, x, rnd) (rop = SUFFIX(sin)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:341:6: note: in expansion of
macro 'mpfr_sin'
  341 |      mpfr_sin (x, x, GFC_RND_MODE);
      |      ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:76:45: warning: incompatible
implicit declaration of built-in function 'cosl'
   76 | #define mpfr_cos(rop, x, rnd) (rop = SUFFIX(cos)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:343:6: note: in expansion of
macro 'mpfr_cos'
  343 |      mpfr_cos (x, x, GFC_RND_MODE);
      |      ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:76:45: note: include
'<math.h>' or provide a declaration of 'cosl'
   76 | #define mpfr_cos(rop, x, rnd) (rop = SUFFIX(cos)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:343:6: note: in expansion of
macro 'mpfr_cos'
  343 |      mpfr_cos (x, x, GFC_RND_MODE);
      |      ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd.inc: In function 'tand_r16':
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:55:56: warning: incompatible
implicit declaration of built-in function 'copysignl'
   55 | #define mpfr_copysign(rop, op1, op2, rnd) rop = SUFFIX(copysign)((op1),
(op2))
      |                                                        ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:372:7: note: in expansion of
macro 'mpfr_copysign'
  372 |       mpfr_copysign (s, one, x, GFC_RND_MODE);
      |       ^~~~~~~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:55:56: note: include
'<math.h>' or provide a declaration of 'copysignl'
   55 | #define mpfr_copysign(rop, op1, op2, rnd) rop = SUFFIX(copysign)((op1),
(op2))
      |                                                        ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:372:7: note: in expansion of
macro 'mpfr_copysign'
  372 |       mpfr_copysign (s, one, x, GFC_RND_MODE);
      |       ^~~~~~~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:57:46: warning: incompatible
implicit declaration of built-in function 'fabsl'
   57 | #define mpfr_abs(rop, op, rnd) (rop = SUFFIX(fabs)(op))
      |                                              ^~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:391:7: note: in expansion of
macro 'mpfr_abs'
  391 |       mpfr_abs (x, x, GFC_RND_MODE);
      |       ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:57:46: note: include
'<math.h>' or provide a declaration of 'fabsl'
   57 | #define mpfr_abs(rop, op, rnd) (rop = SUFFIX(fabs)(op))
      |                                              ^~~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:391:7: note: in expansion of
macro 'mpfr_abs'
  391 |       mpfr_abs (x, x, GFC_RND_MODE);
      |       ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fmal'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:448:4: note: in expansion of
macro 'D2R'
  448 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'<math.h>' or provide a declaration of 'fmal'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
      |                            ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
      |                     ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:448:4: note: in expansion of
macro 'D2R'
  448 |    D2R (x);
      |    ^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:77:45: error: implicit
declaration of function 'tanl' [-Werror=implicit-function-declaration]
   77 | #define mpfr_tan(rop, x, rnd) (rop = SUFFIX(tan)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:449:4: note: in expansion of
macro 'mpfr_tan'
  449 |    mpfr_tan (x, x, GFC_RND_MODE);
      |    ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:77:45: warning: incompatible
implicit declaration of built-in function 'tanl'
   77 | #define mpfr_tan(rop, x, rnd) (rop = SUFFIX(tan)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:449:4: note: in expansion of
macro 'mpfr_tan'
  449 |    mpfr_tan (x, x, GFC_RND_MODE);
      |    ^~~~~~~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:77:45: note: include
'<math.h>' or provide a declaration of 'tanl'
   77 | #define mpfr_tan(rop, x, rnd) (rop = SUFFIX(tan)(x))
      |                                             ^~~
../../../gcc/libgfortran/intrinsics/trigd.c:175:19: note: in definition of
macro 'SUFFIX'
  175 | #define SUFFIX(x) x ## l
      |                   ^
../../../gcc/libgfortran/intrinsics/trigd.inc:449:4: note: in expansion of
macro 'mpfr_tan'
  449 |    mpfr_tan (x, x, GFC_RND_MODE);
      |    ^~~~~~~~
cc1: some warnings being treated as errors
Makefile:6410: recipe for target 'trigd.lo' failed
make[3]: *** [trigd.lo] Error 1
make[3]: *** Waiting for unfinished jobs....

Reply via email to