diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2020-07-01 12:23:51 +0000 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:15:43 -0300 |
commit | 8be052966c1c7235cb4d020db6063294700982a7 (patch) | |
tree | 8814325c38c9017255601533999cb196b2544f9d /gcc | |
parent | 2e332e0bd482c40ebeea274d7ae16e1365c4d153 (diff) | |
download | gcc-8be052966c1c7235cb4d020db6063294700982a7.zip gcc-8be052966c1c7235cb4d020db6063294700982a7.tar.gz gcc-8be052966c1c7235cb4d020db6063294700982a7.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/arm/handler-align.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/arm/handler-align.c b/gcc/testsuite/gcc.target/arm/handler-align.c index 6c5187b..93db8e2 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 } */ |