On Fri, Jan 17, 2020 at 07:58:46PM +0100, Jakub Jelinek wrote: > One is I wonder if it has been bootstrapped, because at least in a cross > from x86_64-linux to armv7hl-linux-gnueabi I'm seeing: > ../../gcc/config/arm/arm.c: In function ‘void > cmse_nonsecure_call_inline_register_clear()’: > ../../gcc/config/arm/arm.c:18469:18: warning: unused variable ‘next’ > [-Wunused-variable] > rtx_insn *next, *last, *pop_insn, *after = insn; > ^~~~ > warning, which I believe in bootstrap would result in > -Werror=unused-variable error.
Bootstrap found yet another unused variable: ../../gcc/config/arm/vfp.md:1651:17: warning: unused variable 'regname' [-Wunused-variable] Fixed thusly, committed as obvious to trunk. 2020-01-18 Jakub Jelinek <ja...@redhat.com> * config/arm/vfp.md (*clear_vfp_multiple): Remove unused variable. --- gcc/config/arm/vfp.md +++ gcc/config/arm/vfp.md @@ -1648,7 +1648,6 @@ (define_insn "*clear_vfp_multiple" { int num_regs = XVECLEN (operands[0], 0); char pattern[30]; - const char *regname; rtx reg; strcpy (pattern, \"vscclrm%?\\t{%|\"); Jakub