From patchwork Mon Feb 7 02:03:38 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 82073 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id DA2C1B70A9 for ; Mon, 7 Feb 2011 13:03:52 +1100 (EST) Received: (qmail 27221 invoked by alias); 7 Feb 2011 02:03:48 -0000 Received: (qmail 27209 invoked by uid 22791); 7 Feb 2011 02:03:46 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Feb 2011 02:03:42 +0000 Received: (qmail 706 invoked from network); 7 Feb 2011 02:03:40 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 7 Feb 2011 02:03:40 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1PmGS2-0008JR-Bi for gcc-patches@gcc.gnu.org; Mon, 07 Feb 2011 02:03:38 +0000 Date: Mon, 7 Feb 2011 02:03:38 +0000 (UTC) From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org Subject: Target deprecation patch for 4.6 Message-ID: MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This patch implements deprecation for 4.6 of the targets I proposed at , plus the Alpha and Power GNU/Hurd targets indicated at as not being currently usable. If approved I will prepare the corresponding release notes changes. Bootstrapped with no regressions on x86_64-unknown-linux-gnu. OK to commit? 2011-02-06 Joseph Myers * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. Index: gcc/config.gcc =================================================================== --- gcc/config.gcc (revision 169867) +++ gcc/config.gcc (working copy) @@ -225,16 +225,39 @@ 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 +# Avoid cases below matching. + alpha*-*-linux* \ + | arm*-wince-pe* \ + | arm*-*-netbsdelf* \ + | i[34567]86-*-netbsdelf* \ + | powerpc*-*-linux* \ + | vax-*-netbsdelf*) ;; + arc-* \ + | alpha*-*-gnu* \ + | arm*-*-netbsd* \ + | arm-*-pe* \ + | i[34567]86-*-interix3* \ + | i[34567]86-*-netbsd* \ + | i[34567]86-*-pe \ + | m68hc11-*-* \ + | m6811-*-* \ + | m68hc12-*-* \ + | m6812-*-* \ + | m68k-*-uclinuxoldabi* \ + | mcore-*-pe* \ + | powerpc*-*-gnu* \ + | sh*-*-symbianelf* \ + | vax-*-netbsd* \ + ) + 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