From 6616a31808d9f97b6dbca5f7cba4f61825e7289b Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Fri, 18 Jan 2019 09:57:41 +0000 Subject: [PATCH] [ARM][testsuite] follow-up to PR target/52813 and target/11807 fix. 2019-01-18 Christophe Lyon * gcc.target/arm/pr77904.c: Add dg-warning for sp clobber. From-SVN: r268066 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/arm/pr77904.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5a7164200c9..b4e1b3e9508 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-01-18 Christophe Lyon + + * gcc.target/arm/pr77904.c: Add dg-warning for sp clobber. + 2019-01-18 Jakub Jelinek Reapply: diff --git a/gcc/testsuite/gcc.target/arm/pr77904.c b/gcc/testsuite/gcc.target/arm/pr77904.c index 76728c07e73..f279ec8269a 100644 --- a/gcc/testsuite/gcc.target/arm/pr77904.c +++ b/gcc/testsuite/gcc.target/arm/pr77904.c @@ -4,7 +4,8 @@ __attribute__ ((noinline, noclone)) void clobber_sp (void) { - __asm volatile ("" : : : "sp"); + __asm volatile ("" : : : "sp"); /* { dg-warning "listing the stack pointer register 'sp' in a clobber list is deprecated" } */ + } int -- 2.30.2