diff options
author | Christophe Lyon <christophe.lyon@arm.com> | 2023-01-30 17:39:22 +0100 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@arm.com> | 2023-02-03 16:40:42 +0100 |
commit | 3dba5b2cf2d624921d976670b927bf5330da075c (patch) | |
tree | b54bdd4669bcc1551dae2830a0a30e526a427e50 /libgcc/floatunsixf.c | |
parent | 59e0376f607805ef9b67fd7b0a4a3084ab3571a5 (diff) | |
download | gcc-3dba5b2cf2d624921d976670b927bf5330da075c.zip gcc-3dba5b2cf2d624921d976670b927bf5330da075c.tar.gz gcc-3dba5b2cf2d624921d976670b927bf5330da075c.tar.bz2 |
arm: Fix warning in libgcc/config/arm/pr-support.c
I have noticed some warnings when building GCC for arm-eabi:
pr-support.c:110:7: warning: variable ‘set_pac_sp’ set but not used [-Wunused-but-set-variable]
pr-support.c:109:7: warning: variable ‘set_pac’ set but not used [-Wunused-but-set-variable]
This small patch avoids them by defining these two variables undef
TARGET_HAVE_PACBTI, like the code which actually uses them.
libgcc/
* config/arm/pr-support.c (__gnu_unwind_execute): Use
TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
Diffstat (limited to 'libgcc/floatunsixf.c')
0 files changed, 0 insertions, 0 deletions