https://gcc.gnu.org/g:471f13d60084a07a69315459d728a2f5bec0af83
commit r17-6238-g471f13d60084a07a69315459d728a2f5bec0af83 Author: Trevor Saunders <[email protected]> Date: Fri Nov 13 17:08:15 2026 +0000 only declare thumb_call_via_label when building gcc gcc/ChangeLog: * config/arm/arm.h (thumb_call_via_label): Move inside the !GENERATOR_FILE && !USED_FOR_TARGET block. Diff: --- gcc/config/arm/arm.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 0cb394e810dc..5406b127f368 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -1598,14 +1598,14 @@ typedef struct GTY(()) machine_function int pacspval_needed; } machine_function; -#endif - -#define ARM_Q_BIT_READ (arm_q_bit_access ()) -#define ARM_GE_BITS_READ (arm_ge_bits_access ()) /* As in the machine_function, a global set of call-via labels, for code that is in text_section. */ extern GTY(()) rtx_code_label *thumb_call_via_label[14]; +#endif + +#define ARM_Q_BIT_READ (arm_q_bit_access ()) +#define ARM_GE_BITS_READ (arm_ge_bits_access ()) /* The number of potential ways of assigning to a co-processor. */ #define ARM_NUM_COPROC_SLOTS 1
