Commit 6616a318 by Christophe Lyon Committed by Christophe Lyon

[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
parent 8b0cb6e1
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:
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment