https://gcc.gnu.org/g:37fafc63e732c51900d2d998b6df6433d9ca6e2f

commit r15-939-g37fafc63e732c51900d2d998b6df6433d9ca6e2f
Author: Rainer Orth <r...@cebitec.uni-bielefeld.de>
Date:   Fri May 31 11:29:19 2024 +0200

    build: Include minor version in config.gcc unsupported message
    
    It has been pointed out to me that when moving Solaris 11.3 from
    config.gcc's obsolete to unsupported list, I'd forgotten to also move
    the minor version info, leading to confusing
    
    *** Configuration i386-pc-solaris2.11 not supported
    
    instead of the correct
    
    *** Configuration i386-pc-solaris2.11.3 not supported
    
    This patch fixes this oversight.
    
    Tested on i386-pc-solaris2.11 (11.3 and 11.4).
    
    2024-05-30  Rainer Orth  <r...@cebitec.uni-bielefeld.de>
    
            gcc:
            * config.gcc: Move ${target_min} from obsolete to unsupported
            message.

Diff:
---
 gcc/config.gcc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index a37113bd00a..e500ba63e32 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -276,7 +276,7 @@ case ${target} in
    | nios2*-*-*                                \
  )
     if test "x$enable_obsolete" != xyes; then
-      echo "*** Configuration ${target}${target_min} is obsolete." >&2
+      echo "*** Configuration ${target} is obsolete." >&2
       echo "*** Specify --enable-obsolete to build it anyway." >&2
       echo "*** Support will be REMOVED in the next major release of GCC," >&2
       echo "*** unless a maintainer comes forward." >&2
@@ -328,7 +328,7 @@ case ${target}${target_min} in
  | *-*-sysv*                           \
  | vax-*-vms*                          \
  )
-       echo "*** Configuration ${target} not supported" 1>&2
+       echo "*** Configuration ${target}${target_min} not supported" 1>&2
        exit 1
        ;;
 esac

Reply via email to