From patchwork Thu Jul 2 06:17:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Wilson X-Patchwork-Id: 50551 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6C54F229DF for ; Thu, 2 Jul 2015 06:17:43 +0000 (UTC) Received: by wiar9 with SMTP id r9sf21251947wia.1 for ; Wed, 01 Jul 2015 23:17:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:sender :delivered-to:mime-version:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-original-sender :x-original-authentication-results; bh=lXjAM7zaaKRUWuLKRoWies9KCghJvZwT8ojCrzffLww=; b=AGXYxKB0YPQC49RkbY95JAuSWSh1sdPGKDvKII5k502YDVXMfPcUg/pwvaBnWUEG4h XV7ThcbKel6+rQNdo1zOpnNDFTgKg8Uyrpq/mNv+AukGB28RNUBeO1bE7wu74jaoYYFp x0UqqTo74/OARwY5nGJTg2zuZTFQqzahvn08GWDSeEXt1y11hKjOYvHfAYdFa6duYZzd 5Gdrv57hjS2vBUftv4jsJvr8/YwNhkr3pUx7rEKmIYcK+H8fy9ASwlCQjxZ6pWum7jkB MAnmeq2Jk7Stmi+i7HpqqyiIbZWFjgndQ2gde77aSetpT2n80FD5ktG8v47Cw4pE5/ap 3jxA== X-Gm-Message-State: ALoCoQlWrg1tsSxQk91/cz+MA6YgBDdCBumbjpEdtAGWNgJhz/5m9yclGQVZHrMAR8OKkbkUq+JS X-Received: by 10.181.12.104 with SMTP id ep8mr16907769wid.7.1435817862780; Wed, 01 Jul 2015 23:17:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.71 with SMTP id la7ls276196lab.25.gmail; Wed, 01 Jul 2015 23:17:42 -0700 (PDT) X-Received: by 10.112.136.166 with SMTP id qb6mr29258452lbb.54.1435817862560; Wed, 01 Jul 2015 23:17:42 -0700 (PDT) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com. [2a00:1450:4010:c04::22e]) by mx.google.com with ESMTPS id w7si3652028law.111.2015.07.01.23.17.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jul 2015 23:17:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::22e as permitted sender) client-ip=2a00:1450:4010:c04::22e; Received: by lbnk3 with SMTP id k3so25681780lbn.1 for ; Wed, 01 Jul 2015 23:17:42 -0700 (PDT) X-Received: by 10.112.55.207 with SMTP id u15mr28838451lbp.88.1435817862086; Wed, 01 Jul 2015 23:17:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp242534lbb; Wed, 1 Jul 2015 23:17:41 -0700 (PDT) X-Received: by 10.66.66.65 with SMTP id d1mr62984838pat.22.1435817860927; Wed, 01 Jul 2015 23:17:40 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id li4si7249518pbc.199.2015.07.01.23.17.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jul 2015 23:17:40 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-401841-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 5408 invoked by alias); 2 Jul 2015 06:17:29 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 5392 invoked by uid 89); 2 Jul 2015 06:17:28 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL, BAYES_20, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-qk0-f175.google.com Received: from mail-qk0-f175.google.com (HELO mail-qk0-f175.google.com) (209.85.220.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 02 Jul 2015 06:17:22 +0000 Received: by qkhu186 with SMTP id u186so45481528qkh.0 for ; Wed, 01 Jul 2015 23:17:19 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.140.134.137 with SMTP id 131mr20762004qhg.64.1435817839648; Wed, 01 Jul 2015 23:17:19 -0700 (PDT) Received: by 10.140.80.167 with HTTP; Wed, 1 Jul 2015 23:17:19 -0700 (PDT) In-Reply-To: <5594CA5B.4060600@redhat.com> References: <559430F3.2040109@redhat.com> <5594B99D.9060302@linaro.org> <5594CA5B.4060600@redhat.com> Date: Wed, 1 Jul 2015 23:17:19 -0700 Message-ID: Subject: Re: C++ PATCH to change default dialect to C++14 From: Jim Wilson To: Jason Merrill Cc: gcc-patches List X-Original-Sender: jim.wilson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::22e as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 On Wed, Jul 1, 2015 at 10:21 PM, Jason Merrill wrote: > This document also says that "A workaround until libraries get updated is to > include or before any headers from that library." > Can you try modifying the graphite* files accordingly? Right. I forgot to try that. Trying it now, I see that my build gets past the point that it failed, so this does appear to work. I won't be able to finish a proper test until tomorrow, but for now this patch seems to work. Jim 2015-07-01 Jim Wilson * graphite-blocking.c (HAVE_isl): Include . * graphite-dependencies.c, graphite-interchange.c, graphite-isl-ast-to-gimple.c, graphite-optimize-isl.c, graphite-poly.c, graphite-scop-detection.c, graphite-sese-to-poly.c, graphite.c: Likewise. Index: graphite-blocking.c =================================================================== --- graphite-blocking.c (revision 225286) +++ graphite-blocking.c (working copy) @@ -24,6 +24,9 @@ along with GCC; see the file COPYING3. #include "config.h" #ifdef HAVE_isl +/* Workaround for GMP 5.1.3 bug, see PR56019. */ +#include + #include #include #include Index: graphite-dependences.c =================================================================== --- graphite-dependences.c (revision 225286) +++ graphite-dependences.c (working copy) @@ -22,6 +22,9 @@ along with GCC; see the file COPYING3. #include "config.h" #ifdef HAVE_isl +/* Workaround for GMP 5.1.3 bug, see PR56019. */ +#include + #include #include #include Index: graphite-interchange.c =================================================================== --- graphite-interchange.c (revision 225286) +++ graphite-interchange.c (working copy) @@ -24,6 +24,9 @@ along with GCC; see the file COPYING3. #include "config.h" #ifdef HAVE_isl +/* Workaround for GMP 5.1.3 bug, see PR56019. */ +#include + #include #include #include Index: graphite-isl-ast-to-gimple.c =================================================================== --- graphite-isl-ast-to-gimple.c (revision 225286) +++ graphite-isl-ast-to-gimple.c (working copy) @@ -21,6 +21,9 @@ along with GCC; see the file COPYING3. #include "config.h" #ifdef HAVE_isl +/* Workaround for GMP 5.1.3 bug, see PR56019. */ +#include + #include #include #include Index: graphite-optimize-isl.c =================================================================== --- graphite-optimize-isl.c (revision 225286) +++ graphite-optimize-isl.c (working copy) @@ -21,6 +21,9 @@ along with GCC; see the file COPYING3. #include "config.h" #ifdef HAVE_isl +/* Workaround for GMP 5.1.3 bug, see PR56019. */ +#include + #include #include #include Index: graphite-poly.c =================================================================== --- graphite-poly.c (revision 225286) +++ graphite-poly.c (working copy) @@ -22,6 +22,9 @@ along with GCC; see the file COPYING3. #include "config.h" #ifdef HAVE_isl +/* Workaround for GMP 5.1.3 bug, see PR56019. */ +#include + #include #include #include Index: graphite-scop-detection.c =================================================================== --- graphite-scop-detection.c (revision 225286) +++ graphite-scop-detection.c (working copy) @@ -22,6 +22,9 @@ along with GCC; see the file COPYING3. #include "config.h" #ifdef HAVE_isl +/* Workaround for GMP 5.1.3 bug, see PR56019. */ +#include + #include #include #include Index: graphite-sese-to-poly.c =================================================================== --- graphite-sese-to-poly.c (revision 225286) +++ graphite-sese-to-poly.c (working copy) @@ -21,6 +21,9 @@ along with GCC; see the file COPYING3. #include "config.h" #ifdef HAVE_isl +/* Workaround for GMP 5.1.3 bug, see PR56019. */ +#include + #include #include #include Index: graphite.c =================================================================== --- graphite.c (revision 225286) +++ graphite.c (working copy) @@ -35,6 +35,9 @@ along with GCC; see the file COPYING3. #include "config.h" #ifdef HAVE_isl +/* Workaround for GMP 5.1.3 bug, see PR56019. */ +#include + #include #include #include