]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pr44194-1.c: Match "insn " and "insn:", but not "insn/f".
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 22 Jan 2014 18:45:05 +0000 (18:45 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 22 Jan 2014 18:45:05 +0000 (18:45 +0000)
gcc/testsuite/
* gcc.dg/pr44194-1.c: Match "insn " and "insn:", but not "insn/f".

From-SVN: r206936

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr44194-1.c

index 243a7607b7e00b090f2290a712942a5a73bbfdc0..a00dc8d60604b8acd67202de5ac0ba182634eb1d 100644 (file)
@@ -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
index cad9375c7857cd706785ee82d6db05dc68513225..7e9d0aeada6158be942a3155a437989914a3c688 100644 (file)
@@ -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" } } */