From patchwork Sun Sep 2 22:47:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleg Endo X-Patchwork-Id: 181269 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 618712C0093 for ; Mon, 3 Sep 2012 08:48:39 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1347230920; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Message-ID:Subject:From:To:Date:Content-Type:Mime-Version: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=62ukXqGZ+bFLfo2T/L8U kBkhSss=; b=NkK6dTtLvWPXzMXUS9hSQdCCFtrsP99jd3Uf1Y2dhGUvkyLhkuHp olhJV73G2AjGWRbnCj6BTsqzms1DeSMN3Tb7zrvBa97oZK/rvjbDQyny4zoQpUy3 6up2SFv5j8dKmEp2Hiui96E//FSxNeAl4uuqyBC9p3wwTJSrwQ5zVZ4= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Message-ID:Subject:From:To:Date:Content-Type:Mime-Version:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=y4lJMwC20T754saq5UJNYQugKJO4214GrEMlhSjD7QvtbClWqfM+BqOlf5yCkJ Ry6RI3CSdfRsOo8uNb8ue1QV+alZfxqGR92oir1/PZIESfH5fsqEcig7lpQy2GlE iuTsWek1mFr3AJS3nWptBeg6ZrZbv6KOnGxWuAqGzXo/4=; Received: (qmail 14183 invoked by alias); 2 Sep 2012 22:48:35 -0000 Received: (qmail 14172 invoked by uid 22791); 2 Sep 2012 22:48:33 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_NO, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from mailout09.t-online.de (HELO mailout09.t-online.de) (194.25.134.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 02 Sep 2012 22:48:17 +0000 Received: from fwd07.aul.t-online.de (fwd07.aul.t-online.de ) by mailout09.t-online.de with smtp id 1T8Ixj-0001ZG-IV; Mon, 03 Sep 2012 00:48:15 +0200 Received: from [192.168.0.100] (Tnxlj6ZZQhUu4fKOiXAjFIcxzANI+9FSEZ5tx5uESZJePYgEYh+4XJpl6WErkj3wry@[87.157.54.121]) by fwd07.t-online.de with esmtp id 1T8IxX-0Ur3FQ0; Mon, 3 Sep 2012 00:48:03 +0200 Message-ID: <1346626076.2200.56.camel@yam-132-YW-E178-FTW> Subject: [SH] PR 33135 - Remove leftover From: Oleg Endo To: gcc-patches Date: Mon, 03 Sep 2012 00:47:56 +0200 Mime-Version: 1.0 X-IsSubscribed: yes 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 Hello, This removes a leftover in sh-common.c which is not needed anymore. It should have been removed when fixing the PR, but went unnoticed. Tested on rev 190840 with make -k check RUNTESTFLAGS="--target_board=sh-sim \{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}" and no new failures. OK? Cheers, Oleg ChangeLog: PR target/33135 * common/config/sh/sh-common.c (sh_option_init_struct): Delete. (TARGET_OPTION_INIT_STRUCT): Likewise. Index: gcc/common/config/sh/sh-common.c =================================================================== --- gcc/common/config/sh/sh-common.c (revision 190840) +++ gcc/common/config/sh/sh-common.c (working copy) @@ -186,17 +186,6 @@ } } -/* Implement TARGET_OPTION_INIT_STRUCT. */ -static void -sh_option_init_struct (struct gcc_options *opts) -{ - /* We can't meaningfully test TARGET_SH2E / TARGET_IEEE - here, so leave it to TARGET_OPTION_OVERRIDE to set - flag_finite_math_only. We set it to 2 here so we know if the user - explicitly requested this to be on or off. */ - opts->x_flag_finite_math_only = 2; -} - /* Implement TARGET_OPTION_DEFAULT_PARAMS. */ static void sh_option_default_params (void) @@ -206,8 +195,6 @@ #undef TARGET_OPTION_OPTIMIZATION_TABLE #define TARGET_OPTION_OPTIMIZATION_TABLE sh_option_optimization_table -#undef TARGET_OPTION_INIT_STRUCT -#define TARGET_OPTION_INIT_STRUCT sh_option_init_struct #undef TARGET_OPTION_DEFAULT_PARAMS #define TARGET_OPTION_DEFAULT_PARAMS sh_option_default_params #undef TARGET_DEFAULT_TARGET_FLAGS