From: Matthew Fortune Date: Mon, 21 Apr 2025 15:49:58 +0000 (-0600) Subject: [PATCH 30/61] MSA: Make MSA and microMIPS R5 unsupported X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=727a43e0a66052235706379239359807230054e0;p=thirdparty%2Fgcc.git [PATCH 30/61] MSA: Make MSA and microMIPS R5 unsupported There are no platforms nor simulators for MSA and microMIPS R5 so turning off this support for now. gcc/ChangeLog: * config/mips/mips.cc (mips_option_override): Error out for -mmicromips -mmsa. --- diff --git a/gcc/config/mips/mips.cc b/gcc/config/mips/mips.cc index 24a28dcf817..0d3d0263f2d 100644 --- a/gcc/config/mips/mips.cc +++ b/gcc/config/mips/mips.cc @@ -20678,6 +20678,9 @@ mips_option_override (void) "-mcompact-branches=never"); } + if (is_micromips && TARGET_MSA) + error ("unsupported combination: %s", "-mmicromips -mmsa"); + /* Require explicit relocs for MIPS R6 onwards. This enables simplification of the compact branch and jump support through the backend. */ if (!TARGET_EXPLICIT_RELOCS && mips_isa_rev >= 6)