[all-commits] [llvm/llvm-project] c0d222: Fix bug with -ffp-contract=fast-honor-pragmas (#10...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Wed Aug 21 08:10:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0d222219a8d01d3945100114256d26cfe833a1c
      https://github.com/llvm/llvm-project/commit/c0d222219a8d01d3945100114256d26cfe833a1c
  Author: Andy Kaylor <andrew.kaylor at intel.com>
  Date:   2024-08-21 (Wed, 21 Aug 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaAttr.cpp
    A clang/test/CodeGen/ffp-contract-fast-honor-pramga-option.cpp
    A clang/test/CodeGen/ffp-contract-fhp-pragma-override.cpp

  Log Message:
  -----------
  Fix bug with -ffp-contract=fast-honor-pragmas (#104857)

This fixes a problem which caused clang to assert in the Sema pragma
handling if it encountered "#pragma STDC FP_CONTRACT DEFAULT" when
compiling with the -ffp-contract=fast-honor-pragmas option.

This fixes https://github.com/llvm/llvm-project/issues/104830



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list