[gcc(refs/users/marxin/heads/slp-function-v9)] arm: Fix handler-align.c testcase [PR target/94743]
Martin Liska
marxin@gcc.gnu.org
Thu Jul 2 09:19:09 GMT 2020
https://gcc.gnu.org/g:aa8b5ca0b540fde5890f3114f2d7076d5238fc2e
commit aa8b5ca0b540fde5890f3114f2d7076d5238fc2e
Author: Christophe Lyon <christophe.lyon@linaro.org>
Date: Wed Jul 1 12:23:51 2020 +0000
arm: Fix handler-align.c testcase [PR target/94743]
This testcase triggers the new warning, so compile it with
-mgeneral-regs-only.
2020-07-01 Christophe Lyon <christophe.lyon@linaro.org>
PR target/94743
gcc/testsuite/
* gcc.target/arm/handler-align.c: Add -mgeneral-regs-only.
Diff:
---
gcc/testsuite/gcc.target/arm/handler-align.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/arm/handler-align.c b/gcc/testsuite/gcc.target/arm/handler-align.c
index 6c5187b2028..93db8e2a738 100644
--- a/gcc/testsuite/gcc.target/arm/handler-align.c
+++ b/gcc/testsuite/gcc.target/arm/handler-align.c
@@ -1,6 +1,6 @@
/* Test epilogue of a realigned interrupt handler. */
/* { dg-do run } */
-/* { dg-options "-mthumb -Os" } */
+/* { dg-options "-mthumb -Os -mgeneral-regs-only" } */
/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
/* { dg-require-effective-target arm_cortex_m } */
/* { dg-require-effective-target arm_eabi } */
More information about the Gcc-cvs
mailing list