https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103624
--- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- __builtin_darn and __builtin_darn_raw are in the wrong stanza. Moving them to [power9-64] fixes it on my cross: diff --git a/gcc/config/rs6000/rs6000-builtin-new.def b/gcc/config/rs6000/rs6000-builtin-new.def index 30556e5c7f2..2becd96a36c 100644 --- a/gcc/config/rs6000/rs6000-builtin-new.def +++ b/gcc/config/rs6000/rs6000-builtin-new.def @@ -2799,15 +2799,9 @@ ; Miscellaneous P9 functions [power9] - signed long long __builtin_darn (); - DARN darn {} - signed int __builtin_darn_32 (); DARN_32 darn_32 {} - signed long long __builtin_darn_raw (); - DARN_RAW darn_raw {} - const signed int __builtin_dtstsfi_eq_dd (const int<6>, _Decimal64); TSTSFI_EQ_DD dfptstsfi_eq_dd {} @@ -2840,6 +2834,12 @@ void __builtin_altivec_stxvl (vsc, void *, long); STXVL stxvl {} + signed long long __builtin_darn (); + DARN darn {} + + signed long long __builtin_darn_raw (); + DARN_RAW darn_raw {} + const signed int __builtin_scalar_byte_in_set (signed int, signed long long); CMPEQB cmpeqb {}