[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
This commit is contained in:
parent
8b0cb6e188
commit
6616a31808
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue