From: Richard Sandiford Date: Wed, 22 Jan 2014 18:45:05 +0000 (+0000) Subject: pr44194-1.c: Match "insn " and "insn:", but not "insn/f". X-Git-Tag: releases/gcc-4.9.0~1458 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88d7c4b9c3c34d298d0650191ed04706d9dc723b;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 243a7607b7e0..a00dc8d60604 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-01-22 Richard Sandiford + + * gcc.dg/pr44194-1.c: Match "insn " and "insn:", but not "insn/f". + 2014-01-22 Ville Voutilainen PR c++/59482 diff --git a/gcc/testsuite/gcc.dg/pr44194-1.c b/gcc/testsuite/gcc.dg/pr44194-1.c index cad9375c7857..7e9d0aeada61 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" } } */