[PATCH] D66256: [AIX] Use GCC-style -std and warning options for XL

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 14 14:43:09 PDT 2019


hubert.reinterpretcast added a comment.

In D66256#1630326 <https://reviews.llvm.org/D66256#1630326>, @jfb wrote:

> Can XL enable all the same flags which GCC can?


It can except the modules stuff, which should would be detected via the `CHECK_CXX_SOURCE_COMPILES`.

> There's a lot under that `elseif`!

Most of it is the modules stuff.

> At that point, isn't XL GCC compatible?

It isn't, because the object-file generation options (e.g., `-fno-unwind-tables`) differ.

I guess I should say "default warning" options in the commit message, because the `LLVM_ENABLE_WARNINGS` and `LLVM_ENABLE_PEDANTIC` modes aren't enabled with this patch.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D66256





More information about the llvm-commits mailing list