Re: [PATCH] arm: Fix warning in libgcc/config/arm/pr-support.c

2023-02-03 Thread Richard Earnshaw via Gcc-patches
On 01/02/2023 09:46, Christophe Lyon via Gcc-patches wrote: 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-

[PATCH] arm: Fix warning in libgcc/config/arm/pr-support.c

2023-02-01 Thread Christophe Lyon via Gcc-patches
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