From patchwork Thu May 11 22:57:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 761370 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wP7n45qhfz9s7r for ; Fri, 12 May 2017 08:58:16 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="LHZZgidU"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; q=dns; s=default; b=RiV1JVvErjM3q8xB PWde0jMslQX/vlArg7a8t7alvgQrMXnw6U56yeeaQPmUByT30NHZqiqbu42J//6o P3OoHekLTOVJM+w2mxo2tbxkIZpqKt6n+M2h3P21zhkpMK6SoGPd3WxxpXTxq9U1 GHQjW1zY1AvsHqJDIQEGPI1YGjg= 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:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=default; bh=6Ake2rN32/7pfyS79zoP7i HB4po=; b=LHZZgidUFt7qIy4ZTv98r70E2HUvnQy4psRgdEVlHAi0ZYjw6mdtBQ rhnGBdWVouXhtQV3zzAFjMmLSK6BPnfyCuAa32cqkfh7A1IbylEWNqLFpVhX/9MM 8ZfNBrPRSddiw6pc3Ie/KcopqNTm2Hp2sOvxUdIUz0IS9a9mHnUdU= Received: (qmail 78031 invoked by alias); 11 May 2017 22:58:05 -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 78011 invoked by uid 89); 11 May 2017 22:58:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-19.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=TCL, Their, rep.dot.nop@gmail.com, sk:rep.dot X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 May 2017 22:58:02 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 7F44E752; Fri, 12 May 2017 00:58:02 +0200 (CEST) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8nKZqSX9Narm; Fri, 12 May 2017 00:58:00 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p5DCE01D0.dip0.t-ipconnect.de [93.206.1.208]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id B02C7751; Fri, 12 May 2017 00:57:59 +0200 (CEST) From: Rainer Orth To: Bernhard Reutner-Fischer Cc: gcc-patches@gcc.gnu.org, Nathan Sidwell , Richard Biener Subject: Re: [PATCH] make RTL/TREE/IPA dump kind an index References: <9eb0ff26-4b3a-a1ab-c0ae-6e39639ab179@acm.org> <6fb48593-224d-fee9-3089-36d519b493c9@acm.org> <863cd7b1-8ab9-7621-4719-2b9c38fdb282@acm.org> <71223A87-5EA2-4D37-9236-ABE707B03D5F@gmail.com> Date: Fri, 12 May 2017 00:57:58 +0200 In-Reply-To: <71223A87-5EA2-4D37-9236-ABE707B03D5F@gmail.com> (Bernhard Reutner-Fischer's message of "Fri, 12 May 2017 00:52:59 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Bernhard Reutner-Fischer writes: > On 11 May 2017 15:10:36 CEST, Nathan Sidwell wrote: >>On 05/11/2017 08:28 AM, Rainer Orth wrote: >> >>> On the gcc-7 branch, the dump file (from -fdump-class-hierarchy) was >>> called covariant7.C.002t.class, now it's covariant7.C.002l.class. >>But >>> gcc/testsuite/lib/scantree.exp (scan-tree-dump) expects the >>NNNt. >>> form. >> >>fixed thusly, applied as obvious. >> >>the scan$foo.exp files look like they could benefit from a higher-level >> >>scandump.exp interface, but that's a cleanup for another day. > > Yea and once we can require a recent dejagnu (maybe for gcc-8 finally) we > can apply the removal of the load_lib TCL hackery. However, the introduction of scanlang.exp broke libatomic, libgomp, and libitm testing. Their logfiles show trunk/12-gcc/build/sparc-sun-solaris2.12/libatomic/testsuite/libatomic.log:ERROR: Couldn't find library file scanlang.exp. trunk/12-gcc/build/sparc-sun-solaris2.12/libgomp/testsuite/libgomp.log:ERROR: Couldn't find library file scanlang.exp. trunk/12-gcc/build/sparc-sun-solaris2.12/libitm/testsuite/libitm.log:ERROR: Couldn't find library file scanlang.exp. and the testsuites aren't run. The following patch fixes this (manually tested on libatomic and libitm so far). Rainer diff --git a/libatomic/testsuite/lib/libatomic.exp b/libatomic/testsuite/lib/libatomic.exp --- a/libatomic/testsuite/lib/libatomic.exp +++ b/libatomic/testsuite/lib/libatomic.exp @@ -34,6 +34,7 @@ load_gcc_lib target-utils.exp load_gcc_lib target-supports-dg.exp load_gcc_lib scanasm.exp load_gcc_lib scandump.exp +load_gcc_lib scanlang.exp load_gcc_lib scanrtl.exp load_gcc_lib scantree.exp load_gcc_lib scanipa.exp diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp --- a/libgomp/testsuite/lib/libgomp.exp +++ b/libgomp/testsuite/lib/libgomp.exp @@ -26,6 +26,7 @@ load_gcc_lib file-format.exp load_gcc_lib target-supports-dg.exp load_gcc_lib scanasm.exp load_gcc_lib scandump.exp +load_gcc_lib scanlang.exp load_gcc_lib scanrtl.exp load_gcc_lib scantree.exp load_gcc_lib scanipa.exp diff --git a/libitm/testsuite/lib/libitm.exp b/libitm/testsuite/lib/libitm.exp --- a/libitm/testsuite/lib/libitm.exp +++ b/libitm/testsuite/lib/libitm.exp @@ -40,6 +40,7 @@ load_gcc_lib file-format.exp load_gcc_lib target-supports-dg.exp load_gcc_lib scanasm.exp load_gcc_lib scandump.exp +load_gcc_lib scanlang.exp load_gcc_lib scanrtl.exp load_gcc_lib scantree.exp load_gcc_lib scanipa.exp