[llvm-bugs] [Bug 51346] New: Clang changed -ffp-contract flag to "on", breaking serval client as well as SPEC2006 and SPEC2017 tests.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 4 13:59:36 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51346

            Bug ID: 51346
           Summary: Clang changed -ffp-contract flag to "on", breaking
                    serval client as well as SPEC2006 and SPEC2017 tests.
           Product: clang
           Version: trunk
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C
          Assignee: unassignedclangbugs at nondot.org
          Reporter: haoweiwu1991 at gmail.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Recent change
https://github.com/llvm/llvm-project/commit/48ad446a0fb2c9b98cb7047e4daf8a84c29cef8f
flip '-ffp-contract' to 'on', which breaks float point comparison tests in
Clang clients like Fuchsia and Chromium. This behavior change also breaks
benchmark suites like SPEC2006 and SPEC2017 such as
`External/SPEC/CFP2006/453.povray/` test.

This breaking change need more discussion and the breakages should be resolved
before the release of clang-13.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210804/b034e9e2/attachment.html>


More information about the llvm-bugs mailing list