[PATCH] D40673: Add _Float128 as alias to __float128 to enable compilations on Fedora27/glibc2-26

Melanie Blower via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 11:28:54 PST 2017


mibintc updated this revision to Diff 125378.
mibintc added a subscriber: eli.friedman.
mibintc added a comment.

I responded to comments from @eli.friedman and @hubert.reinterpretcast : I added  FIXME comment regarding the "Q" suffix on the float 128 literals (gcc uses https://reviews.llvm.org/F128 but clang doesn't support this).  Hubert pointed out that the floating point macros should only be enabled when float128 is enabled, so I added a check before defining them. I fixed a couple problems that Hubert pointed out in the test case.


Repository:
  rL LLVM

https://reviews.llvm.org/D40673

Files:
  include/clang/Basic/TokenKinds.def
  lib/Frontend/InitPreprocessor.cpp
  test/Preprocessor/cuda-types.cu
  test/Sema/_Float128.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40673.125378.patch
Type: text/x-patch
Size: 6501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171204/1b07a91c/attachment-0001.bin>


More information about the cfe-commits mailing list