diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2021-02-12 14:14:45 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2021-02-12 14:19:24 +0000 |
commit | 71b8ed7c61bc6f80df41f9aa3cf9eb57fb664e77 (patch) | |
tree | 847674d58fb8e48f43875073df42e8483505337d /gcc/d | |
parent | 3fbf81a252d7599b4e99b7c969ff164a2330bdb5 (diff) | |
download | gcc-71b8ed7c61bc6f80df41f9aa3cf9eb57fb664e77.zip gcc-71b8ed7c61bc6f80df41f9aa3cf9eb57fb664e77.tar.gz gcc-71b8ed7c61bc6f80df41f9aa3cf9eb57fb664e77.tar.bz2 |
testsuite, arm: Add -mthumb to pr98931.c [PR target/98931]
This test forces -march=armv8.1-m.main, which supports only Thumb mode.
However, if the toolchain is not configured --with-thumb, the test
fails with:
error: target CPU does not support ARM mode
Adding -mthumb to dg-options fixes the problem.
2021-02-12 Christophe Lyon <christophe.lyon@linaro.org>
PR target/98931
gcc/testsuite/
* gcc.target/arm/pr98931.c: Add -mthumb
Diffstat (limited to 'gcc/d')
0 files changed, 0 insertions, 0 deletions