[clang] [clang] Implement gcc_struct attribute on Itanium targets (PR #71148)

Dan Klishch via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 15 08:35:42 PST 2025


Martin =?utf-8?q?Storsjö?= <martin at martin.st>,
Martin =?utf-8?q?Storsjö?= <martin at martin.st>,
Martin =?utf-8?q?Storsjö?= <martin at martin.st>,
Martin =?utf-8?q?Storsjö?= <martin at martin.st>,
Martin =?utf-8?q?Storsjö?= <martin at martin.st>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/71148 at github.com>


DanShaders wrote:

Hmm, it looks like the previous behavior was a bug: with `x86_64-windows-gnu`, clang should be in `-mms-bitfields` mode (with `sizeof(struct nS) == 16`) but we don't choose first branch either with or without the patch.

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


More information about the cfe-commits mailing list