https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Similarly, config.gcc has: powerpc*-*-*spe*) cpu_type=powerpcspe extra_headers="ppc-asm.h altivec.h spe.h ppu_intrinsics.h paired.h spu2vmx.h vec_types.h si2vmx.h htmintrin.h htmxlintrin.h" case x$with_cpu in xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[3456789]|xpower6x|xrs64a|xcell|xa2|xe500mc64|xe5500|xe6500) cpu_is_64bit=yes ;; esac extra_options="${extra_options} g.opt fused-madd.opt powerpcspe/powerpcspe-tables.opt" ;; Aren't the CPUs 32-bit only? So get rid of the above cpu_is_64bit related stuff, and replace TARGET_64BIT with 0, simplify all code. The later: powerpc*-*-* | rs6000-*-*) guarded default CPU selection allows one to configure for many CPUs powerpcspe doesn't support, so guess you need to add a powerpc*-*-*spe) entry before that and only allow there the CPUs that it supports; drop the _32 and _64 suffixed variants if it is 32-bit only.