From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 7E87838708A8 for ; Tue, 9 Jun 2020 12:30:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7E87838708A8 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Thomas_Schwinge@mentor.com IronPort-SDR: +ojeZRZ+3naGhlrhrLydqrvT7pRX3kwHqWCqqtdsBPYJtrcl6d5OiciVCpuRArckYYeeEYs3xs l5EJTv/Ewg7OrIZsWcp7kjeYa4jA7mwSpmYIQ9sD5PNKM0l0ogdQ1AO0BxdVsdW4jEFY0+5Kez mz9XUJwC9UXWW+RU1eIGcMWWAzb3QjgAnikZrEkZv3l3nzH9M5Fu3KIbYB/tZ6qamHpPm74fP4 3q59kaoN11aS2gOIm1pGepVhkUM3y+NCzYGQndJ/K9l3duy8gB4kOxM5dLkQXr7KRBErgUdQoG 3Gg= X-IronPort-AV: E=Sophos;i="5.73,492,1583222400"; d="scan'208";a="49607808" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 09 Jun 2020 04:30:00 -0800 IronPort-SDR: neMGQH1MVnSzvSdAf+b+moN2IOIVUlYmtSTCFYeogyQrxcruRKXw1Ncipswl7TlUGBgsISVxsK Z4DWimuYxrGDhettAwJndssDxyhN80MraeezNJk7HsXX7jPVWpgX8XV5DzruwBHq2J3rEtomJ+ XR6pHM21Gm117Q1nTHr+xv+9Hv7Foi8mRspgquYIVz4YbsnbqpKPs/k4JIWywJbQoB1xBtbWT4 PBCN512wo8Zg8k4/jx65LF78k8sfF809jW9uEkFBfpUF2WzH3Ok1D2+h6/4T1t8yCd+Y8Gge4j B88= From: Thomas Schwinge To: Alexandre Oliva , Pekka =?utf-8?B?SsOkw6Rza2Vsw6Rp?= =?utf-8?B?bmVu?= , Martin Jambor CC: , , , Richard Biener Subject: Re: drop -aux{dir,base}, revamp -dump{dir,base} In-Reply-To: References: User-Agent: Notmuch/0.29.1+93~g67ed7df (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Tue, 9 Jun 2020 14:29:50 +0200 Message-ID: <87eeqoqv5t.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2020 12:30:03 -0000 Hi! On 2020-05-26T04:08:44-0300, Alexandre Oliva wrote: > Thanks, here's the combined patch I'm checking in. > > revamp dump and aux output names For BRIG (HSAIL) front end testing, I'm see a lot of failures like: Running [...]/source-gcc/gcc/testsuite/brig.dg/dg.exp ... PASS: brig.dg/test/gimple/variables.hsail (test for excess errors) [-PASS:-]{+UNRESOLVED:+} variables.hsail.brig scan-tree-dump original "= __group_base_addr \\+ \\(0 \\+" [-PASS:-]{+UNRESOLVED:+} variables.hsail.brig scan-tree-dump original "= __group_base_addr \\+ 0" [-PASS:-]{+UNRESOLVED:+} variables.hsail.brig scan-tree-dump gimple "[ = ]*prog_global =3D s204;" [-PASS:-]{+UNRESOLVED:+} variables.hsail.brig scan-tree-dump gimple ".m= odule.mod_global;" [...] That's: spawn -ignore SIGHUP [...]/build-gcc/gcc/xgcc -B[...]/build-gcc/gcc/ [.= ..]/build-gcc/gcc/testsuite/brig/variables.hsail.brig -fdump-tree-gimple -f= dump-tree-original -S -o variables.s PASS: brig.dg/test/gimple/variables.hsail (test for excess errors) variables.hsail.brig: dump file does not exist dump file: variables.hsail.brig.original UNRESOLVED: variables.hsail.brig scan-tree-dump original "__group_base_= addr \\+ \\(0 \\+" We're trying to scan 'variables.hsail.brig.*', but for input file name 'variables.hsail.brig', we're now creating: $ ls -1 build-gcc/gcc/testsuite/brig/variables.*???t.* build-gcc/gcc/testsuite/brig/variables.brig.004t.original build-gcc/gcc/testsuite/brig/variables.brig.005t.gimple Before your changes, GCC produced the expected: $ ls -1 build-gcc/gcc/testsuite/brig/variables.*???t.* build-gcc/gcc/testsuite/brig/variables.hsail.brig.004t.original build-gcc/gcc/testsuite/brig/variables.hsail.brig.005t.gimple Are you able to easily create a patch for that? How/where to adjust: producer-side (GCC driver, or BRIG (HSAIL) front end?), or consumer-side (testsuite: tree scanning machinery, or have to put some '-dumpbase' into all test case files?)? Gr=C3=BC=C3=9Fe Thomas ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstra=C3=9Fe 201, 80634 M=C3=BCnch= en / Germany Registergericht M=C3=BCnchen HRB 106955, Gesch=C3=A4ftsf=C3=BChrer: Thomas = Heurung, Alexander Walter