[PATCH] D111382: Support _Float128 and F128 literal in C mode

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 8 13:43:09 PDT 2021


hubert.reinterpretcast added a comment.

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++.

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



More information about the cfe-commits mailing list