[all-commits] [llvm/llvm-project] 508c6a: [libc][NFC] Fix "type qualifiers ignored on cast r...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Fri Jan 19 00:27:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 508c6aa8f3e4a0e6ee5845a8fbf46b8cccd96ca5
      https://github.com/llvm/llvm-project/commit/508c6aa8f3e4a0e6ee5845a8fbf46b8cccd96ca5
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M libc/test/src/__support/FPUtil/CMakeLists.txt
    M libc/test/src/__support/FPUtil/dyadic_float_test.cpp
    M utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel

  Log Message:
  -----------
  [libc][NFC] Fix "type qualifiers ignored on cast result type"  GCC warning (#78509)

GCC complains about "type qualifiers ignored on cast result type".
Upon investigation the correct fix was to remove all `volatile` and use the `-frounding-math` option.




More information about the All-commits mailing list