[clang] [clang][PowerPC] Add flag to enable compatibility with GNU for complex arguments (PR #77732)

Kishan Parmar via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 11 04:32:02 PDT 2024


Long5hot wrote:

We were compiling simple testcase with complex parameters with clang and it was crashing because libraries was built using gcc.

@AaronBallman, Reason for new flag was to enable this for other C standards as well. Currently we use c11 as standard in VxWorks toolchain, which has to work with gcc compiled libraries.
gcc with c11 as well passes complex parameters in GPRs.



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


More information about the cfe-commits mailing list