OSDN Git Service

* config.gcc: Reenable check for obsolete targets.
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Feb 2010 09:03:59 +0000 (09:03 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Feb 2010 09:03:59 +0000 (09:03 +0000)
Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*,
mips-sgi-irix6.[0-4]*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156462 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc

index 7440bce..e6a4218 100644 (file)
@@ -1,3 +1,9 @@
+2010-02-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config.gcc: Reenable check for obsolete targets.
+       Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*,
+       mips-sgi-irix6.[0-4]*.
+
 2010-02-02  Nick Clifton  <nickc@redhat.com>
 
        * config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum
index 9c18adf..849e667 100644 (file)
@@ -205,16 +205,21 @@ xm_file=
 md_file=
 
 # Obsolete configurations.
-#case ${target} in
-# )
-#    if test "x$enable_obsolete" != xyes; then
-#      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
-#      exit 1
-#    fi;;
-#esac
+case ${target} in
+   alpha*-dec-osf4*                    \
+ | alpha*-dec-osf5.0*                  \
+ | mips-sgi-irix5*                     \
+ | mips-sgi-irix6.[0-4]5*              \
+ | *-*-solaris2.7*                     \
+ )
+    if test "x$enable_obsolete" != xyes; then
+      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
+      exit 1
+    fi;;
+esac
 
 # Unsupported targets list.  Do not put an entry in this list unless
 # it would otherwise be caught by a more permissive pattern.  The list