From patchwork Sun Jan 21 05:16:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleg Endo X-Patchwork-Id: 864004 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-471752-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="KQuo1hTo"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zPN8q2kkSz9sP9 for ; Sun, 21 Jan 2018 16:16:57 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:date:content-type:mime-version; q= dns; s=default; b=jecwsrUPLLWVwkRtoLXOS/BvgjIGUmmrQ6aOGDtKB3kQCE yuDJSTmpNljWOua1evkRUckfofNXEMLN4vvIrezE5/LwR3aY6VmxzRCZjEn6+WUG VMuUuL8/0OxocnkZ3rSfXniNUo8L/zwi9IRpRuL1pSxaqdCGgRjnLZKH/K/TI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:date:content-type:mime-version; s= default; bh=KrD9310olI21/yNr2UA1lmrGXYk=; b=KQuo1hTo+2uUP5dR69sE 97tyTLEgDyfKBtrdzECqJQSPV3n0PxMcOfj/8fYf68+o5Df5eQ1Q0a7UF0gCe5Ej tiYVy/Olm1nsgSir8cZFdShT+an2bSQHOAi2ssJtYzHSwGS+0Anmwh9kTcxeyCYc rCuk/y9s0kjDqLpmmnV1Iu4= Received: (qmail 61046 invoked by alias); 21 Jan 2018 05:16:49 -0000 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 Received: (qmail 61037 invoked by uid 89); 21 Jan 2018 05:16:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-9.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_DNSWL_NONE, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1750, UD:backend.h, system.h, treepassh X-HELO: mailout10.t-online.de Received: from mailout10.t-online.de (HELO mailout10.t-online.de) (194.25.134.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 21 Jan 2018 05:16:46 +0000 Received: from fwd08.aul.t-online.de (fwd08.aul.t-online.de [172.20.26.151]) by mailout10.t-online.de (Postfix) with SMTP id F3DD441F8B4B for ; Sun, 21 Jan 2018 06:16:43 +0100 (CET) Received: from [192.168.0.55] (GQ1Tw2Za8hiZmmEfuJQQQieD1UcO6ILba4OOG-Hf1UazXtN1USRcfHugRPwys3+wA3@[163.58.16.102]) by fwd08.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1ed7zm-0wx44m0; Sun, 21 Jan 2018 06:16:42 +0100 Message-ID: <1516511798.13888.12.camel@t-online.de> Subject: [SH][committed] Fix PR 80870 From: Oleg Endo To: gcc-patches Date: Sun, 21 Jan 2018 14:16:38 +0900 Mime-Version: 1.0 X-IsSubscribed: yes Hi, The following fixed PR 80870. For whatever reason one of the source files in config/sh was still including and directly... Committed as r256926 (trunk), r256928 (GCC 7), r256929 (GCC 6). Cheers, Oleg gcc/ChangeLog: PR target/80870 * config/sh/sh_optimize_sett_clrt.cc: Use INCLUDE_ALGORITHM and INCLUDE_VECTOR instead of direct includes. Index: gcc/config/sh/sh_optimize_sett_clrt.cc =================================================================== --- gcc/config/sh/sh_optimize_sett_clrt.cc (revision 256924) +++ gcc/config/sh/sh_optimize_sett_clrt.cc (working copy) @@ -18,6 +18,8 @@ . */ #include "config.h" +#define INCLUDE_ALGORITHM +#define INCLUDE_VECTOR #include "system.h" #include "coretypes.h" #include "backend.h" @@ -27,9 +29,6 @@ #include "cfgrtl.h" #include "tree-pass.h" -#include -#include - /* This pass tries to eliminate unnecessary sett or clrt instructions in cases where the ccreg value is already known to be the same as the constant set