Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-82710

Investigate -fp-contract=fast default

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0, rhel-10.1
    • gcc
    • None
    • No
    • Moderate
    • rhel-pt-gcc
    • ssg_platform_tools
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Many packages build with -ffp-contract=off on the non-x86 architectures because -ffp-contract=fast (the GCC default) uses FMA instructions on those architectures. With the x86-64-v3 default for RHEL 10 (RHELBU-1822), FMA comes to x86-64 as well, introducing the test suite failures on this architecture as well.

      This raises the question whether -ffp-contract=fast is the appropriate default, and if we are missing more issues due to lack of test suite coverage.

      GCC 14 implements --fp-contract=on:

      But it does not change the default in a way that impacts most of our builds.

              sst-pt-gcc-issues SST PT GCC Bot
              fweimer@redhat.com Florian Weimer
              Jakub Jelinek
              SST PT GCC Bot SST PT GCC Bot
              Vaclav Kadlcik Vaclav Kadlcik
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: