From: Uros Bizjak <ubizjak@gmail.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: [PATCH, testsuite]: Cleanup dumps
Date: Tue, 04 Nov 2014 18:21:00 -0000 [thread overview]
Message-ID: <CAFULd4aKcyuLO6nR4FkHzeQc97YacN+0n3sy8PtmEk4mThs2aQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
Hello!
2014-11-04 Uros Bizjak <ubizjak@gmail.com>
* g++.dg/ipa/devirt-44.C (dg-options): Remove -fdump-tree-optimized.
* g++.dg/ipa/devirt-45.C (dg-options): Ditto.
* g++.dg/tree-prof/morefunc.C (dg-final-use): Cleanup profile ipa dump.
* g++.dg/tree-prof/reorder.C (dg-final-use): Ditto.
* g++.dg/tree-prof/pr35545.C (dg-fina-use): Cleanup profile_estimate
ipa dump.
* gcc.dg/fold-reassoc-3.c (dg-final): Fix scan string.
Cleanup original tree dump.
* gcc.dg/tree-prof/20050826-2.c (dg-final-use): Cleanup dom1 tree dump.
* gcc.dg/tree-prof/cmpsf-1.c (dg-final-use): Ditto.
* gcc.dg/tree-ssa/pr61144.c (dg-final): Cleanup optimized tree dump.
Tested on x86_64-linux-gnu {,-m32} and committed to mainline SVN.
Uros.
[-- Attachment #2: t.diff.txt --]
[-- Type: text/plain, Size: 3916 bytes --]
Index: g++.dg/ipa/devirt-44.C
===================================================================
--- g++.dg/ipa/devirt-44.C (revision 217089)
+++ g++.dg/ipa/devirt-44.C (working copy)
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O3 -fno-ipa-cp -fdump-ipa-inline-details -fno-early-inlining -fdump-tree-optimized" } */
+/* { dg-options "-O3 -fno-ipa-cp -fdump-ipa-inline-details -fno-early-inlining" } */
struct A {
virtual int foo () {return 1;}
int wrapfoo () {foo();}
Index: g++.dg/ipa/devirt-45.C
===================================================================
--- g++.dg/ipa/devirt-45.C (revision 217089)
+++ g++.dg/ipa/devirt-45.C (working copy)
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O3 -fno-ipa-cp -fdump-ipa-inline-details -fno-early-inlining -fdump-tree-optimized" } */
+/* { dg-options "-O3 -fno-ipa-cp -fdump-ipa-inline-details -fno-early-inlining" } */
struct A {
virtual int foo () {return 1;}
int wrapfoo () {foo();}
Index: g++.dg/tree-prof/morefunc.C
===================================================================
--- g++.dg/tree-prof/morefunc.C (revision 217089)
+++ g++.dg/tree-prof/morefunc.C (working copy)
@@ -52,4 +52,4 @@
}
/* { dg-final-use { scan-ipa-dump-times "Indirect call -> direct call" 2 "profile" } } */
-
+/* { dg-final-use { cleanup-ipa-dump "profile" } } */
Index: g++.dg/tree-prof/pr35545.C
===================================================================
--- g++.dg/tree-prof/pr35545.C (revision 217089)
+++ g++.dg/tree-prof/pr35545.C (working copy)
@@ -47,6 +47,6 @@
}
/* { dg-final-use { scan-ipa-dump "Indirect call -> direct call" "profile_estimate" } } */
-/* { dg-final-use { cleanup-ipa-dump "profile" } } */
+/* { dg-final-use { cleanup-ipa-dump "profile_estimate" } } */
/* { dg-final-use { scan-tree-dump-not "OBJ_TYPE_REF" "optimized" } } */
/* { dg-final-use { cleanup-tree-dump "optimized" } } */
Index: g++.dg/tree-prof/reorder.C
===================================================================
--- g++.dg/tree-prof/reorder.C (revision 217089)
+++ g++.dg/tree-prof/reorder.C (working copy)
@@ -45,4 +45,4 @@
}
/* { dg-final-use { scan-ipa-dump-times "Indirect call -> direct call" 2 "profile" } } */
-
+/* { dg-final-use { cleanup-ipa-dump "profile" } } */
Index: gcc.dg/fold-reassoc-3.c
===================================================================
--- gcc.dg/fold-reassoc-3.c (revision 217089)
+++ gcc.dg/fold-reassoc-3.c (working copy)
@@ -13,5 +13,5 @@
}
/* { dg-final { scan-tree-dump-not " - " "original" } } */
-/* { dg-final { scan-tree-dump-not " \\\+ " "original" } } */
-/* { dg-final { cleanup-tree-dump "orginal" } } */
+/* { dg-final { scan-tree-dump-not " \\+ " "original" } } */
+/* { dg-final { cleanup-tree-dump "original" } } */
Index: gcc.dg/tree-prof/20050826-2.c
===================================================================
--- gcc.dg/tree-prof/20050826-2.c (revision 217089)
+++ gcc.dg/tree-prof/20050826-2.c (working copy)
@@ -73,3 +73,4 @@
}
/* { dg-final-use { scan-tree-dump-not "Invalid sum" "dom1"} } */
+/* { dg-final-use { cleanup-tree-dump "dom1" } } */
Index: gcc.dg/tree-prof/cmpsf-1.c
===================================================================
--- gcc.dg/tree-prof/cmpsf-1.c (revision 217089)
+++ gcc.dg/tree-prof/cmpsf-1.c (working copy)
@@ -182,3 +182,4 @@
}
/* { dg-final-use { scan-tree-dump-not "Invalid sum" "dom1"} } */
+/* { dg-final-use { cleanup-tree-dump "dom1" } } */
Index: gcc.dg/tree-ssa/pr61144.c
===================================================================
--- gcc.dg/tree-ssa/pr61144.c (revision 217089)
+++ gcc.dg/tree-ssa/pr61144.c (working copy)
@@ -5,3 +5,4 @@
extern int foo __attribute__((__weak__, __alias__("dummy")));
int bar() { if (foo) return 1; return 0; }
/* { dg-final { scan-tree-dump-not "return 0" "optimized"} } */
+/* { dg-final { cleanup-tree-dump "optimized" } } */
next reply other threads:[~2014-11-04 18:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-04 18:21 Uros Bizjak [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-01-31 15:38 Uros Bizjak
[not found] ` <7B4175B2-2FAA-4A96-943B-06B379D03C75@gmail.com>
[not found] ` <4420E8FB-D61F-4F61-8A86-6ADE01B235E9@comcast.net>
[not found] ` <FFFCE31D-72C2-4542-9A1D-2C67E8DE07D8@gmail.com>
[not found] ` <089F97D9-DDFA-420E-8BCA-353F704B0A94@gmail.com>
2015-02-01 17:50 ` Mike Stump
2015-04-23 8:24 ` Bernhard Reutner-Fischer
2015-05-29 8:44 ` Bernhard Reutner-Fischer
2015-05-29 10:08 ` Bernhard Reutner-Fischer
2022-04-25 21:34 ` Bernhard Reutner-Fischer
2015-05-29 13:33 ` Kyrill Tkachov
2015-05-29 13:38 ` Bernhard Reutner-Fischer
2015-05-29 21:14 ` Christophe Lyon
2013-12-08 21:47 [PATCH, testsuite ]: " Uros Bizjak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFULd4aKcyuLO6nR4FkHzeQc97YacN+0n3sy8PtmEk4mThs2aQ@mail.gmail.com \
--to=ubizjak@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).