aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-01-22 18:45:05 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-01-22 18:45:05 +0000
commit88d7c4b9c3c34d298d0650191ed04706d9dc723b (patch)
tree4c18b0a0f4b8d2565949b2b8329b1f33ec9a322d
parent32ab58b2a067db7571934d55fc1aaed80d23f5b3 (diff)
downloadgcc-88d7c4b9c3c34d298d0650191ed04706d9dc723b.zip
gcc-88d7c4b9c3c34d298d0650191ed04706d9dc723b.tar.gz
gcc-88d7c4b9c3c34d298d0650191ed04706d9dc723b.tar.bz2
pr44194-1.c: Match "insn " and "insn:", but not "insn/f".
gcc/testsuite/ * gcc.dg/pr44194-1.c: Match "insn " and "insn:", but not "insn/f". From-SVN: r206936
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/pr44194-1.c6
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 243a760..a00dc8d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2014-01-22 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * gcc.dg/pr44194-1.c: Match "insn " and "insn:", but not "insn/f".
+
2014-01-22 Ville Voutilainen <ville.voutilainen@gmail.com>
PR c++/59482
diff --git a/gcc/testsuite/gcc.dg/pr44194-1.c b/gcc/testsuite/gcc.dg/pr44194-1.c
index cad9375..7e9d0ae 100644
--- a/gcc/testsuite/gcc.dg/pr44194-1.c
+++ b/gcc/testsuite/gcc.dg/pr44194-1.c
@@ -15,5 +15,9 @@ void func() {
/* { dg-final { scan-rtl-dump "global deletions = (2|3)" "dse1" } } */
/* { dg-final { cleanup-rtl-dump "dse1" } } */
-/* { dg-final { scan-rtl-dump-not "insn\[^\n\]*set \\(mem(?!\[^\n\]*scratch)" "final" } } */
+/* Here we want to ignore frame-related instructions, marked as insn/f,
+ that do things like store the link register to the stack. We also want
+ to treat insns the same regardless of whether they have a scheduling
+ :TI marker, so match both "insn " and "insn:". */
+/* { dg-final { scan-rtl-dump-not "insn\[: \]\[^\n\]*set \\(mem(?!\[^\n\]*scratch)" "final" } } */
/* { dg-final { cleanup-rtl-dump "final" } } */