]> granicus.if.org Git - clang/commit
Enable __float128 for mingw for GCC compatibility and define __SIZEOF_FLOAT128__...
authorReid Kleckner <rnk@google.com>
Fri, 26 May 2017 17:38:15 +0000 (17:38 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 26 May 2017 17:38:15 +0000 (17:38 +0000)
commitb123c46f72aac9fcc649279e627e259710b3f9e9
tree3344d142e235578244b04b5905fd8531dc5e1aee
parentd4a1fad40bd50a78101d79a6be6d63d219e3c777
Enable __float128 for mingw for GCC compatibility and define __SIZEOF_FLOAT128__ on x86

GCC defines __FLOAT128__ on Power and __SIZEOF_FLOAT128__ on x86. We're
just following the inconsistency for now so users have some way to test.

Effectively merges this patch as requested by Martell Malone:
https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-clang/0107-enable-__float128-for-X86-MinGW.patch

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304012 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
lib/Frontend/InitPreprocessor.cpp
test/Sema/128bitfloat.cpp