[clang] Fix mis alignment fp80 (PR #208256)

Zahira Ammarguellat via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 10 07:26:50 PDT 2026


================
@@ -2693,6 +2693,25 @@ MicrosoftRecordLayoutBuilder::getAdjustedElementInfo(
   auto TInfo =
       Context.getTypeInfoInChars(FD->getType()->getUnqualifiedDesugaredType());
   ElementInfo Info{TInfo.Width, TInfo.Align};
+  // Types like x86_fp80 (long double with /Qlong-double) require 16-byte
----------------
zahiraam wrote:

Done.

https://github.com/llvm/llvm-project/pull/208256


More information about the cfe-commits mailing list