aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2021-08-09 17:35:39 +0200
committerMartin Jambor <mjambor@suse.cz>2021-08-09 17:36:12 +0200
commitd55d3f5b04e81b79f34ccf23f7e2c1e736ad3b0d (patch)
tree7ec53dc36634f7d75c817768cef9350e6e2a698e /gcc
parent00eab082e9f6ac2a7c4b38323829be29f092abcb (diff)
downloadgcc-d55d3f5b04e81b79f34ccf23f7e2c1e736ad3b0d.zip
gcc-d55d3f5b04e81b79f34ccf23f7e2c1e736ad3b0d.tar.gz
gcc-d55d3f5b04e81b79f34ccf23f7e2c1e736ad3b0d.tar.bz2
ipa: Fix testsuite/gcc.dg/ipa/remref-6.c
I forgot to add -fdump-ipa-inline to options of testsuite/gcc.dg/ipa/remref-6.c and so the dump scan test were not PASSing but ended up as UNRESOLVED. Fixing that revealed that the one of the dumps it was looking for had a double space, so I removed it too. gcc/ChangeLog: 2021-08-09 Martin Jambor <mjambor@suse.cz> PR testsuite/101654 * ipa-prop.c (propagate_controlled_uses): Removed a spurious space. gcc/testsuite/ChangeLog: 2021-08-09 Martin Jambor <mjambor@suse.cz> PR testsuite/101654 * gcc.dg/ipa/remref-6.c: Added missing -fdump-ipa-inline option.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ipa-prop.c2
-rw-r--r--gcc/testsuite/gcc.dg/ipa/remref-6.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index 0afd05e..1c69d97 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -4204,7 +4204,7 @@ propagate_controlled_uses (struct cgraph_edge *cs)
new_root->create_reference (n, IPA_REF_LOAD, NULL);
if (dump_file)
fprintf (dump_file, "ipa-prop: ...replaced it with "
- " LOAD one from %s to %s.\n",
+ "LOAD one from %s to %s.\n",
new_root->dump_name (), n->dump_name ());
}
diff --git a/gcc/testsuite/gcc.dg/ipa/remref-6.c b/gcc/testsuite/gcc.dg/ipa/remref-6.c
index de36493..7deae31 100644
--- a/gcc/testsuite/gcc.dg/ipa/remref-6.c
+++ b/gcc/testsuite/gcc.dg/ipa/remref-6.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -fno-early-inlining -fno-ipa-cp -fdump-tree-optimized" } */
+/* { dg-options "-O2 -fno-early-inlining -fno-ipa-cp -fdump-ipa-inline -fdump-tree-optimized" } */
static double global = 0.0;