Hello, This removes a leftover in sh-common.c which is not needed anymore. It should have been removed when fixing the PR, but went unnoticed. Tested on rev 190840 with make -k check RUNTESTFLAGS="--target_board=sh-sim \{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"
and no new failures. OK? Cheers, Oleg ChangeLog: PR target/33135 * common/config/sh/sh-common.c (sh_option_init_struct): Delete. (TARGET_OPTION_INIT_STRUCT): Likewise.
Index: gcc/common/config/sh/sh-common.c =================================================================== --- gcc/common/config/sh/sh-common.c (revision 190840) +++ gcc/common/config/sh/sh-common.c (working copy) @@ -186,17 +186,6 @@ } } -/* Implement TARGET_OPTION_INIT_STRUCT. */ -static void -sh_option_init_struct (struct gcc_options *opts) -{ - /* We can't meaningfully test TARGET_SH2E / TARGET_IEEE - here, so leave it to TARGET_OPTION_OVERRIDE to set - flag_finite_math_only. We set it to 2 here so we know if the user - explicitly requested this to be on or off. */ - opts->x_flag_finite_math_only = 2; -} - /* Implement TARGET_OPTION_DEFAULT_PARAMS. */ static void sh_option_default_params (void) @@ -206,8 +195,6 @@ #undef TARGET_OPTION_OPTIMIZATION_TABLE #define TARGET_OPTION_OPTIMIZATION_TABLE sh_option_optimization_table -#undef TARGET_OPTION_INIT_STRUCT -#define TARGET_OPTION_INIT_STRUCT sh_option_init_struct #undef TARGET_OPTION_DEFAULT_PARAMS #define TARGET_OPTION_DEFAULT_PARAMS sh_option_default_params #undef TARGET_DEFAULT_TARGET_FLAGS