This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM] Fix static analysis warnings in arm backend
- From: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- To: Michael Collison <Michael dot Collison at arm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: nd <nd at arm dot com>
- Date: Mon, 26 Jun 2017 11:47:26 +0100
- Subject: Re: [PATCH][ARM] Fix static analysis warnings in arm backend
- Authentication-results: sourceware.org; auth=none
- References: <HE1PR0802MB23778330BC51E68FA7A72D7D95D80@HE1PR0802MB2377.eurprd08.prod.outlook.com>
Hi Michael,
On 23/06/17 21:44, Michael Collison wrote:
This patch cleans up warning messages due to unused variables and overly complicated loop structures.
Okay for trunk?
Ok.
Thanks,
Kyrill
2017-03-30 Michael Collison <michael.collison@arm.com>
PR target/68535
* config/arm/arm.c (gen_ldm_seq): Remove last unnecessary
set of base_reg
(arm_gen_movmemqi): Removed unused variable 'i'.
Convert 'for' loop into 'while' loop.
(arm_expand_prologue): Remove last unnecessary set of insn.
(thumb_pop): Remove unused variable 'pushed_words'.
(thumb_exit): Remove last unnecessary set of regs_to_pop.