[Bug target/104327] [12 Regression] Inlining error on s390x since r12-1039
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 2 21:44:26 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104327
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The mvcle instructions actually aren't guarded by TARGET_MVCLE, they are
TARGET_64BIT || !TARGET_ZARCH
or
!TARGET_64BIT && TARGET_ZARCH
which means available everywhere, so TARGET_MVCLE seems just like an
optimization hint, defaulted for -Os, but which can be set separately.
So, I'd say we should use
if ((caller_opts->x_target_flags
& ~(MASK_SOFT_FLOAT | MASK_HARD_DFP | MASK_MVCLE))
!= (callee_opts->x_target_flags
& ~(MASK_SOFT_FLOAT | MASK_HARD_DFP | MASK_MVCLE)))
ret = false;
or so.
More information about the Gcc-bugs
mailing list