From d34c64796b1daf4d9ff452313e021e15d9df4cb8 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 18 Jun 2019 16:31:11 +0200 Subject: [PATCH] pr81563.c (dg-final): Check that no registers are restored from %esp. * gcc.target/i386/pr81563.c (dg-final): Check that no registers are restored from %esp. From-SVN: r272422 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/pr81563.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 061f7fba453..e04c0192817 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-06-18 Uroš Bizjak + + * gcc.target/i386/pr81563.c (dg-final): Check that no + registers are restored from %esp. + 2019-06-18 Richard Biener PR debug/90900 diff --git a/gcc/testsuite/gcc.target/i386/pr81563.c b/gcc/testsuite/gcc.target/i386/pr81563.c index ebfd583daf5..f0efcf91340 100644 --- a/gcc/testsuite/gcc.target/i386/pr81563.c +++ b/gcc/testsuite/gcc.target/i386/pr81563.c @@ -10,5 +10,4 @@ fn1 (long long int x) return x; } -/* { dg-final { scan-assembler-times "movl\[\\t \]*-8\\(%ebp\\),\[\\t \]*%esi" 1 } } */ -/* { dg-final { scan-assembler-times "movl\[\\t \]*-4\\(%ebp\\),\[\\t \]*%edi" 1 } } */ +/* { dg-final { scan-assembler-not "movl\[ \\t\]+\[0-9]*\\(%esp\\)" } } */ -- 2.30.2