diff options
author | Michael Meissner <meissner@linux.vnet.ibm.com> | 2017-12-01 05:32:39 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2017-12-01 05:32:39 +0000 |
commit | 6ae3512c0eeb31eced99d73229b898529635e786 (patch) | |
tree | a3f2cca8afe44b5423f5a2fe8b8000781d2ed192 /libgcc | |
parent | 5a1f4e57b6da8a42155c6164f45ca9ab79dd9ebd (diff) | |
download | gcc-6ae3512c0eeb31eced99d73229b898529635e786.zip gcc-6ae3512c0eeb31eced99d73229b898529635e786.tar.gz gcc-6ae3512c0eeb31eced99d73229b898529635e786.tar.bz2 |
_mulkc3.c (__mulkc3): Add forward declaration.
2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
* config/rs6000/_divkc3.c (__divkc3): Likewise.
From-SVN: r255289
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 3 | ||||
-rw-r--r-- | libgcc/config/rs6000/_divkc3.c | 2 | ||||
-rw-r--r-- | libgcc/config/rs6000/_mulkc3.c | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index e103ace..3d8b73e 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,5 +1,8 @@ 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com> + * 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 5c477f4..800389b 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 a88fae2..c2687be 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) { |