diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr44194-1.c | 6 |
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" } } */ |