Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-21944

Folding function calls that return real values may fail

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.4.0
    • Fix Version/s: 7.0.32
    • Component/s: Code Generator
    • Labels:
      None

      Description

      Observed on certain versions of gcc only, after making an unrelated change in jlib. The compiler seems unaware that the assignment to doubleResult via inline assembler actually modifies the variable, and thus may constant-propogate it to zero.

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              richardkchapman Richard Chapman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: