diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 243a7607b7e..a00dc8d6060 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 cad9375c785..7e9d0aeada6 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" } } */