Mercurial > people > andrew > aarch32 > hotspot
changeset 9032:73474e47c3e2
8171913: aarch32: fix overloaded fmod usage with gcc6
Reviewed-by: enevill
Contributed-by: akashche@redhat.com
author | enevill |
---|---|
date | Thu, 22 Dec 2016 14:02:21 +0000 |
parents | ef75b507ae87 |
children | 2d40c68f1daa |
files | src/cpu/aarch32/vm/templateTable_aarch32.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpu/aarch32/vm/templateTable_aarch32.cpp Thu Dec 01 18:23:37 2016 +0300 +++ b/src/cpu/aarch32/vm/templateTable_aarch32.cpp Thu Dec 22 14:02:21 2016 +0000 @@ -1592,7 +1592,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); #ifndef HARD_FLOAT_CC __ vmov_f64(d0, r0, r1);