head -r356426 32-bit powerpc : clang vs gcc9 C-ABI: *not* the same: clang is doing -maix-struct-return style

2020-01-12 Thread Mark Millard via freebsd-toolchain
system-clang (C) handles returning example struct based on it being on the stack (-maix-struct-return style); gcc9 via registers r3 and r4 (-msvr4-struct-return style). So this somewhat tracks what was observed for the C++ ABI. The evidence from on a old G4 PowerMac3,6 . . . The source code: #

Problem reports for toolch...@freebsd.org that need special attention

2020-01-12 Thread bugzilla-noreply
To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and

head -r356426 for 32-bit powerpc vs. powerpc-unknown-freebsd13.0-g++9 and g++9: not (fully) clang++-ABI compatible (using system-headers and libraries, not gcc's)

2020-01-12 Thread Mark Millard via freebsd-toolchain
[So far I have not checked if there is a somewhat analogous C (not C++) issue or not for gcc9 . For C++, when registers are used vs. when stack space is used does not always match system-clang++ for g++9 targeting 32-bit powerpc.] Building on a head -r356426 32-bit powerpc the following program: