changeset 7700:8f6a9ab4d930

8152131: aarch32: specify which overloaded variant of fmod to use Summary: cast fmod compile with gcc 6 Reviewed-by: enevill Contributed-by: akashche@redhat.com
author enevill
date Tue, 22 Mar 2016 16:11:56 +0000
parents fbcdff021df5
children 205725ab0f1c
files src/cpu/aarch32/vm/templateTable_aarch32.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch32/vm/templateTable_aarch32.cpp	Tue Mar 22 10:41:57 2016 +0000
+++ b/src/cpu/aarch32/vm/templateTable_aarch32.cpp	Tue Mar 22 16:11:56 2016 +0000
@@ -1426,7 +1426,7 @@
     __ vmov_f64(r0, r1, d0);
     __ vmov_f64(r2, r3, d1);
 #endif
-    __ mov(rscratch1, (address)fmod);
+    __ mov(rscratch1, (address)(double (*)(double, double))fmod);
     __ bl(rscratch1);
     __ vcvt_f32_f64(d0, d0);
     break;
@@ -1463,7 +1463,7 @@
     __ vmov_f64(r0, r1, d0);
     __ vmov_f64(r2, r3, d1);
 #endif
-    __ mov(rscratch1, (address)fmod);
+    __ mov(rscratch1, (address)(double (*)(double, double))fmod);
     __ bl(rscratch1);
     break;
   default: