aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.c
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2020-08-12 09:22:38 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2020-08-12 09:22:38 +0000
commit6606fdc0aad85cbca1bb58e1b2ffe05611aabd7a (patch)
tree57d8f1f82731b5d7d73b230c2482ff3c94765c96 /gcc/fortran/trans-openmp.c
parent73d2b6d4a3f0db82b2bfaba6c275412e5830680d (diff)
downloadgcc-6606fdc0aad85cbca1bb58e1b2ffe05611aabd7a.zip
gcc-6606fdc0aad85cbca1bb58e1b2ffe05611aabd7a.tar.gz
gcc-6606fdc0aad85cbca1bb58e1b2ffe05611aabd7a.tar.bz2
testsuite: Fix gcc.target/arm/stack-protector-1.c for Cortex-M
The stack-protector-1.c test fails when compiled for Cortex-M: - for Cortex-M0/M1, str r0, [sp #-8]! is not supported - for Cortex-M3/M4..., the assembler complains that "use of r13 is deprecated" This patch replaces the str instruction with sub sp, sp, #8 str r0, [sp] and removes the check for r13, which is unlikely to leak the canary value. 2020-08-11 Christophe Lyon <christophe.lyon@linaro.org> gcc/testsuite/ * gcc.target/arm/stack-protector-1.c: Adapt code to Cortex-M restrictions.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions