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

            Bug ID: 93783
           Summary: [m68k][build warning] libgcc/config/m68k/fpgnulib.c:
                    xfgnulib.c:556:10: warning: implicit declaration of
                    function '__cmpdf2';
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
  Target Milestone: ---
            Target: m68k-linux-gnu

Just some warnings – it would be still nice to silence them.

Found via https://qa.debian.org/bls/packages/g/gcc-10.html for m68k:

xfgnulib.c: In function '__cmpxf2':
xfgnulib.c:556:10: warning: implicit declaration of function '__cmpdf2'; did
you mean '__cmpxf2'? [-Wimplicit-function-declaration]
  556 |   return __cmpdf2 ((double) x1, (double) x2);
      |          ^~~~~~~~
      |          __cmpxf2

(Besides implicit-function-declaration, there are also several
[-Wmissing-prototypes].)

Regarding __cmpdf2:

gcc/doc/libgcc.texi:392:@deftypefnx {Runtime Function} int __cmpdf2 (double
@var{a}, double @var{b})

libgcc/config/m68k/lb1sf68.S:2299:| int __cmpdf2_internal(double, double, int);

Reply via email to