[all-commits] [llvm/llvm-project] c55903: [PowerPC] Emit warning for ieeelongdouble on older...

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Sun Jan 23 23:27:16 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5590396d041e77a84101cdcc4249788403e4e40
      https://github.com/llvm/llvm-project/commit/c5590396d041e77a84101cdcc4249788403e4e40
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2022-01-24 (Mon, 24 Jan 2022)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/lib/Driver/ToolChains/PPCLinux.cpp
    M clang/lib/Driver/ToolChains/PPCLinux.h
    A clang/test/Driver/Inputs/powerpc64le-linux-gnu-tree/gcc-11.2.0/lib/gcc/powerpc64le-linux-gnu/11.2.0/.keep
    A clang/test/Driver/ppc-float-abi-warning.cpp

  Log Message:
  -----------
  [PowerPC] Emit warning for ieeelongdouble on older GNU toolchain

GCC 12 should have proper support for IEEE-754 compliant 128-bit
floating point in libstdc++. So warning is needed when linking against
older libstdc++ versions or LLVM libc++.

Glibc starts supporting float128 in both header and libraries since
2.32.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D112906




More information about the All-commits mailing list