aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2023-11-22 15:32:17 +0100
committerJose E. Marchesi <jose.marchesi@oracle.com>2023-11-23 17:31:40 +0100
commit2eb833534c7e715c276658ecb810715e8718e5c3 (patch)
tree2fc1a1b44c4b67858c999014671fa3ca06899807 /gcc/fortran
parentba0869323e1d45b1328b4cb723cb139a2e2146c3 (diff)
downloadgcc-2eb833534c7e715c276658ecb810715e8718e5c3.zip
gcc-2eb833534c7e715c276658ecb810715e8718e5c3.tar.gz
gcc-2eb833534c7e715c276658ecb810715e8718e5c3.tar.bz2
libgcc: mark __hardcfr_check_fail as always_inline
The function __hardcfr_check_fail in hardcfr.c is internal and static inline. It receives many arguments, which require more than five registers to be passed in bpf-none-unknown targets. BPF is limited to that number of registers to pass arguments, and therefore libgcc fails to build in that target. This patch marks the function with the always_inline attribute, fixing the bpf build. Tested in bpf-unknown-none target and x86_64-linux-gnu host. libgcc/ChangeLog: * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions