https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445

--- Comment #8 from Christophe Leroy <christophe.leroy at csgroup dot eu> ---
(In reply to Jakub Jelinek from comment #1)
> See https://gcc.gnu.org/bugs.html, you haven't provided either preprocessed
> source, nor gcc command line options.
> inline keyword itself is not a guarantee that the function will be inlined,
> it is inlined if it is possible and seems beneficial to the inlining
> heuristics.
> If you want to always inline, use __attribute__((always_inline)) in addition
> to inline keyword.

When adding -save-temps as explained in https://gcc.gnu.org/bugs.html I get an
error:

powerpc64-linux-gcc -Wp,-MMD,fs/.pipe.o.d  -nostdinc -isystem
/home/opt/gcc-10.1.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/10.1.0/include
-I./arch/powerpc/include -I./arch/powerpc/include/generated  -I./include
-I./arch/powerpc/include/uapi -I./arch/powerpc/include/generated/uapi
-I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h
-include ./include/linux/compiler_types.h -D__KERNEL__ -I ./arch/powerpc -Wall
-Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration
-Werror=implicit-int -Wno-format-security -std=gnu89 -mcpu=powerpc -m32
-msoft-float -pipe -ffixed-r2 -mmultiple -mno-readonly-in-sdata -mcpu=860
-mno-altivec -mno-vsx -fno-asynchronous-unwind-tables -mno-string -mbig-endian
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation
-Wno-format-overflow -Wno-address-of-packed-member -O2
-fno-allow-store-data-races -Wframe-larger-than=1024 -fno-stack-protector
-Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable
-fomit-frame-pointer -fno-var-tracking-assignments -g
-Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation
-Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict
-Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants
-fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-fmacro-prefix-map=./= -Wno-packed-not-aligned    -DKBUILD_MODFILE='"fs/pipe"'
-DKBUILD_BASENAME='"pipe"' -DKBUILD_MODNAME='"pipe"' -c -o fs/pipe.o fs/pipe.c
-save-temps
powerpc64-linux-gcc.br_real: warning: -pipe ignored because -save-temps
specified
powerpc64-linux-gcc.br_real: error: unrecognized command line option
‘-fno-allow-store-data-races’

Reply via email to