[PATCH] D112906: [PowerPC] Emit warning for ieeelongdouble on older GNU toolchain

Jinsong Ji via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 1 06:40:22 PDT 2021


jsji added inline comments.


================
Comment at: clang/test/Driver/ppc-float-abi-warning.cpp:2
+// REQUIRES: powerpc-registered-target
+// RUN: %clang -### -x c++ -target powerpc64le-unknown-linux-gnu %s -mabi=ieeelongdouble
+
----------------
Can we add RUN line to test when we are using libc++?


================
Comment at: clang/test/Driver/ppc-float-abi-warning.cpp:4
+
+// expected-warning{{float ABI 'ieeelongdouble' is not supported by current C++ stdlib}}
+
----------------
So this assume that all our buildbots are using old glibc? What if we have mixed envs, eg: some with newer glibc?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112906/new/

https://reviews.llvm.org/D112906



More information about the cfe-commits mailing list