diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index e103ace8fcf..3d8b73e1c4a 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,5 +1,8 @@ 2017-11-30 Michael Meissner + * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration. + * config/rs6000/_divkc3.c (__divkc3): Likewise. + PR libgcc/83112 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the correct type for all ifunc resolvers to silence -Wattribute-alias diff --git a/libgcc/config/rs6000/_divkc3.c b/libgcc/config/rs6000/_divkc3.c index 5c477f4d0b8..800389b169b 100644 --- a/libgcc/config/rs6000/_divkc3.c +++ b/libgcc/config/rs6000/_divkc3.c @@ -37,6 +37,8 @@ typedef __complex float KCtype __attribute__ ((mode (KC))); #define __divkc3 __divkc3_sw #endif +extern KCtype __divkc3 (KFtype, KFtype, KFtype, KFtype); + KCtype __divkc3 (KFtype a, KFtype b, KFtype c, KFtype d) { diff --git a/libgcc/config/rs6000/_mulkc3.c b/libgcc/config/rs6000/_mulkc3.c index a88fae21661..c2687bee97b 100644 --- a/libgcc/config/rs6000/_mulkc3.c +++ b/libgcc/config/rs6000/_mulkc3.c @@ -35,6 +35,8 @@ typedef __complex float KCtype __attribute__ ((mode (KC))); #define __mulkc3 __mulkc3_sw #endif +extern KCtype __mulkc3 (KFtype, KFtype, KFtype, KFtype); + KCtype __mulkc3 (KFtype a, KFtype b, KFtype c, KFtype d) {