pengfei added a comment.

> I seem to recall assuming that Windows long double was 64-bits in many, many 
> places. Unfortunately, I have no idea where that could've happened.

Is it because MSDN explicitly declares it? 
https://docs.microsoft.com/en-us/previous-versions/9cx8xs15(v=vs.140)?redirectedfrom=MSDN

> Something that comes to mind immediately is the MSVC name mangler. I don't 
> think that's a blocking issue, but it's something you should be aware of if 
> you want to promote this flag's usage.

Not sure if I got your point. I checked both Clang and MSVC can mangle/demangle 
it, e.g., "long double foo(long double a, long double b)" <==> "?foo@@YAOOO@Z". 
So this is not a problem?

  >undname "?foo@@YAOOO@Z"
  Microsoft (R) C++ Name Undecorator
  Copyright (C) Microsoft Corporation. All rights reserved.
  
  Undecoration of :- "?foo@@YAOOO@Z"
  is :- "long double __cdecl foo(long double,long double)"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115441

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

Reply via email to