[clang] [clang][Sparc] Pass packed structs and unions in integer registers on SPARC64 (PR #246226)

Stian Halseth via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 27 02:52:29 PST 2026


shalseth wrote:

Side note on #pragma pack: GCC itself loses the float in #pragma pack(1) struct { float a; double b; } on sparc64, both fields end up in %f0. Filed as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129107. So that case can't be matched against GCC until it's sorted out.

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


More information about the cfe-commits mailing list