Hi! On Mon, Jul 25, 2022 at 02:26:15PM +0800, Kewen.Lin wrote: > As the failure of test case gcc.target/powerpc/pr92398.p9-.c in > PR106345 shows, some test sources for some powerpc effective > targets use empty translation unit wrongly.
> * lib/target-supports.exp (check_effective_target_powerpc_sqrt): Add > a function definition to avoid pedwarn about empty translation unit. > (check_effective_target_has_arch_pwr5): Likewise. > (check_effective_target_has_arch_pwr6): Likewise. > (check_effective_target_has_arch_pwr7): Likewise. > (check_effective_target_has_arch_pwr8): Likewise. > (check_effective_target_has_arch_pwr9): Likewise. > (check_effective_target_has_arch_pwr10): Likewise. > (check_effective_target_has_arch_ppc64): Likewise. > (check_effective_target_ppc_float128): Likewise. > (check_effective_target_ppc_float128_insns): Likewise. > (check_effective_target_powerpc_vsx): Likewise. Sorry, I thought you had committed this already. Oops. Okay for trunk, and for all backports you want. Thanks! Segher