From patchwork Fri Jan 14 00:06:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 78834 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 E2128B70A3 for ; Fri, 14 Jan 2011 11:07:02 +1100 (EST) Received: (qmail 12987 invoked by alias); 14 Jan 2011 00:07:00 -0000 Received: (qmail 12976 invoked by uid 22791); 14 Jan 2011 00:06:59 -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; Fri, 14 Jan 2011 00:06:54 +0000 Received: (qmail 11929 invoked from network); 14 Jan 2011 00:06:53 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Jan 2011 00:06:53 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1PdXBr-0002PJ-TE; Fri, 14 Jan 2011 00:06:51 +0000 Date: Fri, 14 Jan 2011 00:06:51 +0000 (UTC) From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org cc: eager@eagercon.com, echristo@apple.com, rdsandiford@googlemail.com Subject: [07/25] Specs cleanup: -gline In-Reply-To: Message-ID: References: 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 Two targets have %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} in CC1_SPEC. This is not useful or effective to create a -gline option, since all -g* options are passed to cc1 automatically (gcc.c:cc1_options) and so -gline will be passed and rejected by cc1 as unknown. This patch removes those specs. OK to commit? 2011-01-13 Joseph Myers * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. * config/mips/mips.h (CC1_SPEC): Likewise. diff -rupN --exclude=.svn gcc-mainline-6/gcc/config/microblaze/microblaze.h gcc-mainline/gcc/config/microblaze/microblaze.h --- gcc-mainline-6/gcc/config/microblaze/microblaze.h 2011-01-12 14:11:16.000000000 -0800 +++ gcc-mainline/gcc/config/microblaze/microblaze.h 2011-01-12 14:13:00.000000000 -0800 @@ -93,7 +93,7 @@ extern enum pipeline_type microblaze_pip #ifndef CC1_SPEC #define CC1_SPEC " \ -%{G*} %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \ +%{G*} \ %(subtarget_cc1_spec) \ %{mxl-multiply-high:-mcpu=v6.00.a} \ " diff -rupN --exclude=.svn gcc-mainline-6/gcc/config/mips/mips.h gcc-mainline/gcc/config/mips/mips.h --- gcc-mainline-6/gcc/config/mips/mips.h 2011-01-12 14:11:25.000000000 -0800 +++ gcc-mainline/gcc/config/mips/mips.h 2011-01-12 14:13:10.000000000 -0800 @@ -1168,7 +1168,6 @@ enum mips_code_readable_setting { #undef CC1_SPEC #define CC1_SPEC "\ -%{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \ %{G*} %{EB:-meb} %{EL:-mel} %{EB:%{EL:%emay not use both -EB and -EL}} \ %(subtarget_cc1_spec)"