https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101393
--- Comment #4 from Franz Sirl <sirl at gcc dot gnu.org> --- Created attachment 51164 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51164&action=edit Half-baken trial patch How about something along this patch? It's not fully done (no good idea about SPEC stuff like "mcpu=7400: -mppc %{!mvsx:%{!maltivec:-maltivec}};" yet), but you should get the idea. In the the end most of ASM_CPU_SPEC could be removed and also the duplication between ASM_CPU_SPEC and driver-rs6000.c could go away.