From: Christophe Lyon Date: Fri, 18 Jan 2019 09:57:41 +0000 (+0000) Subject: [ARM][testsuite] follow-up to PR target/52813 and target/11807 fix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6616a31808d9f97b6dbca5f7cba4f61825e7289b;p=gcc.git [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 --- 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