Hi gcc-patches mailing list, Saurabh Jha <[email protected]> has requested that the following forgejo pull request be published on the mailing list.
Created on: 2026-03-13 13:57:07+00:00 Latest update: 2026-03-13 13:58:34+00:00 Changes: 1 changed files, 5 additions, 1 deletions Head revision: saurabh.jha/gcc-TEST ref pr122953 commit 5928d23fffe454d80a024e967095222f796507f3 Base revision: gcc/gcc-TEST ref trunk commit 1d09c30fd77b020cba06ad3f744b486698d3c1c7 r16-8080-g1d09c30fd77b02 Merge base: 1d09c30fd77b020cba06ad3f744b486698d3c1c7 Full diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/144.diff Discussion: https://forge.sourceware.org/gcc/gcc-TEST/pulls/144 Requested Reviewers: Windows platforms do not support the default procedure calling standard, AAPCS64. So _ARM_PCS_AAPCS64 should not be set for Windows targets. This fixes the setting of __ARM_PCS_AAPCS64 by making it conditional on non-Windows targets. PR target/122953 gcc/ChangeLog: * config/aarch64/aarch64-c.cc (TARGET_AARCH64_MS_ABI): Explicitly set it to 0 if not on mingw. (aarch64_define_unconditional_macros): Remove __ARM_PCS_AAPCS64 from here. (aarch64_update_cpp_builtins): Define __ARM_PCS_AAPCS64 if not on Windows ABI. --- Hey, Regression tested on aarch64-linux-gnu and found no regressions. Built for arch64-w64-mingw32, ran target dependent tests, and found no regressions. Ok for master? Thanks, Saurabh Changed files: - M: gcc/config/aarch64/aarch64-c.cc Saurabh Jha (1): aarch64: mingw: Fix _ARM_PCS_AAPCS64 [PR122953] gcc/config/aarch64/aarch64-c.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.52.0
