This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/68535] arm.c: 5 * set but not used
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 01 Aug 2016 06:14:02 +0000
- Subject: [Bug target/68535] arm.c: 5 * set but not used
- Auto-submitted: auto-generated
- References: <bug-68535-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68535
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2015-11-25 00:00:00 |2016-7-31
Known to fail| |6.1.0
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So there is no confusion here.
Look at gen_ldm_seq:
The last set to base_reg is not needed.
Look at arm_gen_movmemqi, the for loop that sets i and increments i but never
uses i; The condition that is used here is in_words_to_go.
Look at arm_expand_prologue: the last setting of insn and insn is not used
after that point.
Look at thumb_pop: pushed_words is only set or incremented and never used
otherwise.
For the last one look at thumb1_emit_multi_reg_push, the last setting of
regs_to_pop is not used after that except in a comment.