Hi,

This patch marks m32c*-*-* targets obsolete in GCC 16.  The target has
not had a maintainer since GCC 9 (r9-1950), and fails to compile even
the simplest of functions since GCC 8 (r8-777, as reported in PR83670).

OK for trunk?

Regards,
Iain.

---
contrib/ChangeLog:

        * config-list.mk: Add m32c*-*-* to the list of obsoleted targets.

gcc/ChangeLog:

        * config.gcc (LIST): --enable-obsolete for m32c-elf.
---
 contrib/config-list.mk | 2 +-
 gcc/config.gcc         | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/config-list.mk b/contrib/config-list.mk
index fc9fc9902bf..58bb4c5c186 100644
--- a/contrib/config-list.mk
+++ b/contrib/config-list.mk
@@ -65,7 +65,7 @@ LIST = \
   ia64-hp-vmsOPT-enable-obsolete iq2000-elf lm32-elf \
   lm32-rtems lm32-uclinux \
   loongarch64-linux-gnuf64 loongarch64-linux-gnuf32 loongarch64-linux-gnusf \
-  m32c-elf m32r-elf m32rle-elf \
+  m32c-elfOPT-enable-obsolete m32r-elf m32rle-elf \
   m68k-elf m68k-netbsdelf \
   m68k-uclinux m68k-linux m68k-rtems \
   mcore-elf microblaze-linux microblaze-elf \
diff --git a/gcc/config.gcc b/gcc/config.gcc
index d98df883fce..6dbe880c9d4 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -273,6 +273,7 @@ esac
 # Obsolete configurations.
 case ${target} in
      ia64*-*-hpux* | ia64*-*-*vms* | ia64*-*-elf*      \
+   | m32c*-*-*                                         \
  )
     if test "x$enable_obsolete" != xyes; then
       echo "*** Configuration ${target} is obsolete." >&2
-- 
2.43.0

Reply via email to