From patchwork Sun Jan 11 05:49:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prathamesh Kulkarni X-Patchwork-Id: 42948 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F0A902055F for ; Sun, 11 Jan 2015 05:50:11 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id l15sf4064902wiw.0 for ; Sat, 10 Jan 2015 21:50:11 -0800 (PST) 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:date:message-id:subject:from:to :content-type:x-original-sender:x-original-authentication-results; bh=icqYLLKBtwrmA/esYcJw3dAuMNPnRl5bTp2kMCqgjBM=; b=ZvkmDqc10VspJP4ibRLIs+jPrc4EbqkjE09oYpyi/8BKkNdMnhJFBjbFrPuAmC3Qky JODHRT6XyTYRDC3UqCASfqNqlDs/UHASRogCEz1W5RmGTJ8WkrZpjRTexUFtj1E4xF8d SzIU15MyR2UILMt/Gm5QyJX97bkomLxHR3c+bhujDynEHc1lhTxQ2jm2ADtcG79j9PJS ngs5x6hIx44bQkmANiuVkLjsYy8PGBGSzEFof22IgsIuicch0mDiRfi87939dH1Lt6dI PV1AJdKNKpzWPLHTpWZWjd8zRdXRiKjr7NtbLiyTYXZYYAqn6/6JP4Sfr0abm4RlcBNd MgJw== X-Gm-Message-State: ALoCoQkDSH2fDfxHj2sndqrcr55AfIYrFvRYwDJmwtxLAUWy1m+A8az2Na9amvMQrmX/va6Ta6Nk X-Received: by 10.180.89.211 with SMTP id bq19mr1366016wib.4.1420955410956; Sat, 10 Jan 2015 21:50:10 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.130 with SMTP id b2ls471151laa.27.gmail; Sat, 10 Jan 2015 21:50:10 -0800 (PST) X-Received: by 10.112.72.197 with SMTP id f5mr29702836lbv.21.1420955410736; Sat, 10 Jan 2015 21:50:10 -0800 (PST) Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com. [2a00:1450:4010:c04::234]) by mx.google.com with ESMTPS id qy6si17910637lbb.8.2015.01.10.21.50.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 10 Jan 2015 21:50:10 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::234 as permitted sender) client-ip=2a00:1450:4010:c04::234; Received: by mail-lb0-f180.google.com with SMTP id l4so13513424lbv.11 for ; Sat, 10 Jan 2015 21:50:10 -0800 (PST) X-Received: by 10.112.64.35 with SMTP id l3mr29904698lbs.82.1420955410532; Sat, 10 Jan 2015 21:50:10 -0800 (PST) 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.9.200 with SMTP id c8csp759284lbb; Sat, 10 Jan 2015 21:50:08 -0800 (PST) X-Received: by 10.68.191.69 with SMTP id gw5mr34959069pbc.75.1420955407990; Sat, 10 Jan 2015 21:50:07 -0800 (PST) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id f8si9124822pas.21.2015.01.10.21.50.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Jan 2015 21:50:07 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-388772-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 10821 invoked by alias); 11 Jan 2015 05:49:45 -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 10801 invoked by uid 89); 11 Jan 2015 05:49:40 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-lb0-f177.google.com Received: from mail-lb0-f177.google.com (HELO mail-lb0-f177.google.com) (209.85.217.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 11 Jan 2015 05:49:36 +0000 Received: by mail-lb0-f177.google.com with SMTP id b6so13445854lbj.8 for ; Sat, 10 Jan 2015 21:49:32 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.152.26.201 with SMTP id n9mr30545006lag.50.1420955372504; Sat, 10 Jan 2015 21:49:32 -0800 (PST) Received: by 10.25.211.16 with HTTP; Sat, 10 Jan 2015 21:49:32 -0800 (PST) Date: Sun, 11 Jan 2015 05:49:32 +0000 Message-ID: Subject: [PATCH, testsuite] fix ggcplug.c test-case From: Prathamesh Kulkarni To: Michael Collison , Andrew MacLeod , Richard Biener , Maxim Kuvyrkov , gcc Patches X-IsSubscribed: yes X-Original-Sender: prathamesh.kulkarni@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::234 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 Hi, The test-case plugin/ggcplug.c was failing due to flattening of tree.h and tree-core.h. Test-case was incorrect because it included gcc-plugin.h after tree.h whereas gcc-plugin.h should be the first header to be included by plugins. OK to commit ? Thank you, Prathamesh 2015-01-11 Prathamesh Kulkarni testsuite/ * gcc.dg/plugin/ggcplug.c: Include gcc-plugin.h before other headers. Index: gcc/testsuite/gcc.dg/plugin/ggcplug.c =================================================================== --- gcc/testsuite/gcc.dg/plugin/ggcplug.c (revision 219429) +++ gcc/testsuite/gcc.dg/plugin/ggcplug.c (working copy) @@ -1,12 +1,12 @@ /* This plugin tests the GGC related plugin events. */ /* { dg-options "-O" } */ +#include "gcc-plugin.h" #include "config.h" #include "system.h" #include "coretypes.h" #include "tm.h" #include "tree.h" -#include "gcc-plugin.h" #include "toplev.h" #include "basic-block.h" #include "hash-table.h"