MaskRay added a subscriber: zatrazz.
MaskRay added a comment.

This is to make more glibc files compilable with Clang. (@zatrazz)

In D111382#3052514 <https://reviews.llvm.org/D111382#3052514>, 
@hubert.reinterpretcast wrote:

> Are we sure this is wise? We know that any future standard C++ type can't be 
> the same as `__float128` (without changing the latter) because `__float128` 
> mangles the same as 128-bit `long double`. So by making `__float128` the same 
> as `_Float128` in C, we're causing the relationship between `__float128` and 
> the "corresponding" standard types to differ between C and C++.

No, but it's hard to change now. Introducing a GCC incompatible scheme probably 
does more harm than being compatible with them now...

> I know GCC went in the direction that has this complication. Do we know 
> whether they figured their way out?




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111382

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to