https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059
--- Comment #12 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- BTW, this is reproducible with an x86-64 cross by forcing the generation of cmpstrnsi with -mcpu=cell and the following patch: diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 9ea5959ea14..ac1034b6f24 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -264,7 +264,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv); #ifndef HAVE_AS_CMPB #undef TARGET_CMPB -#define TARGET_CMPB 0 +#define TARGET_CMPB 1 #endif /* Define TARGET_MFPGPR if the target assembler does not support the (It really irks me that the PPC backend has backend behavior that depends on what assembler (or cross assembler) is available at configure time. It makes it difficult to reproduce bugs with crosses.)