hubert.reinterpretcast added a comment.

It doesn't seem like the cases of implicit conversion that are expected to be 
allowed have been tested with C++?

  $ ./bin/clang -fsyntax-only -mcpu=pwr9 -mfloat128 -xc -<<<$'__ibm128 x; 
__float128 y; void f(void) { y = x; }'
  Return:  0x00:0   Tue Nov  9 11:53:23 2021 EST
  $ ./bin/clang -fsyntax-only -mcpu=pwr9 -mfloat128 -xc++ -<<<$'__ibm128 x; 
__float128 y; void f(void) { y = x; }'
  <stdin>:1:46: error: assigning to '__float128' from incompatible type 
'__ibm128'
  __ibm128 x; __float128 y; void f(void) { y = x; }
                                               ^
  1 error generated.
  Return:  0x01:1   Tue Nov  9 11:53:43 2021 EST


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109751

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

Reply via email to