aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2019-01-18 09:57:41 +0000
committerChristophe Lyon <clyon@gcc.gnu.org>2019-01-18 10:57:41 +0100
commit6616a31808d9f97b6dbca5f7cba4f61825e7289b (patch)
tree5b4f3341f514b55dd6f749e844d026a5bbc17655
parent8b0cb6e18889731340baaf20a31ff9e08e05c71e (diff)
downloadgcc-6616a31808d9f97b6dbca5f7cba4f61825e7289b.zip
gcc-6616a31808d9f97b6dbca5f7cba4f61825e7289b.tar.gz
gcc-6616a31808d9f97b6dbca5f7cba4f61825e7289b.tar.bz2
[ARM][testsuite] follow-up to PR target/52813 and target/11807 fix.
2019-01-18 Christophe Lyon <christophe.lyon@linaro.org> * gcc.target/arm/pr77904.c: Add dg-warning for sp clobber. From-SVN: r268066
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.target/arm/pr77904.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5a71642..b4e1b3e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2019-01-18 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * gcc.target/arm/pr77904.c: Add dg-warning for sp clobber.
+
2019-01-18 Jakub Jelinek <jakub@redhat.com>
Reapply:
diff --git a/gcc/testsuite/gcc.target/arm/pr77904.c b/gcc/testsuite/gcc.target/arm/pr77904.c
index 76728c0..f279ec8 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