From dca58aef2e3640c5a8c627be2b069ea9776e26a0 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 5 Mar 2020 08:46:20 -0700 Subject: [PATCH] Future proofing this test. * gcc.target/arm/fuse-caller-save.c: Generalize expected output. --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/arm/fuse-caller-save.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 851e0e92807..bac662302fb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-03-05 Jeff Law + + * gcc.target/arm/fuse-caller-save.c: Generalize expected output. + 2020-03-05 Mark Eggleston PR fortran/93792 diff --git a/gcc/testsuite/gcc.target/arm/fuse-caller-save.c b/gcc/testsuite/gcc.target/arm/fuse-caller-save.c index 20837125c0a..1308c98447a 100644 --- a/gcc/testsuite/gcc.target/arm/fuse-caller-save.c +++ b/gcc/testsuite/gcc.target/arm/fuse-caller-save.c @@ -22,4 +22,4 @@ main (void) /* For thumb1, r3 is considered likely spilled, and treated differently in ira_build_conflicts, which inhibits the fipa-ra optimization. */ -/* { dg-final { scan-assembler-times "mov\tr1, r0" 1 { target { ! arm_thumb1 } } } } */ +/* { dg-final { scan-assembler-times "mov\tr[123], r0" 1 { target { ! arm_thumb1 } } } } */ -- 2.30.2