From 6ae3512c0eeb31eced99d73229b898529635e786 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Fri, 1 Dec 2017 05:32:39 +0000 Subject: [PATCH] _mulkc3.c (__mulkc3): Add forward declaration. 2017-11-30 Michael Meissner * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration. * config/rs6000/_divkc3.c (__divkc3): Likewise. From-SVN: r255289 --- libgcc/ChangeLog | 3 +++ libgcc/config/rs6000/_divkc3.c | 2 ++ libgcc/config/rs6000/_mulkc3.c | 2 ++ 3 files changed, 7 insertions(+) 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) { -- 2.30.2