Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8171913

aarch32: fix overloaded fmod usage with gcc6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: port-stage-aarch32-8
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
    • CPU:
      arm
    • OS:
      linux

      Backports

        Description

        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);

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                akasko Alex Kasko
                Reporter:
                akasko Alex Kasko
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: