[8u][gcc6] RFR: 8152131: aarch32: specify which overloaded variant of fmod to use

Andrew Haley aph at redhat.com
Tue Mar 22 16:41:06 UTC 2016


On 03/17/2016 08:12 PM, Alex Kashchenko wrote:
> Please review and sponsor the small change to templateTable_aarch32.cpp 
> that is required for successful compilation with GCC6:
> 
>   - issue: https://bugs.openjdk.java.net/browse/JDK-8152131
>   - webrev: 
> http://cr.openjdk.java.net/~akasko/aarch32/jdk8u/8152131/webrev.00/
> 
> The following cast of fmod function pointer to address causes 
> "overloaded function with no contextual type information" compilation 
> error with GCC6:
> 
> __ mov(rscratch1, (address)fmod);
> 
> Proposed change is to cast fmod to the double version:
> 
> __ mov(rscratch1, (address)(double (*)(double, double))fmod);

What are the overloaded versions of fmod?

Andrew.




More information about the aarch32-port-dev mailing list