[Bug target/68535] New: arm.c: 5 * set but not used
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 25 09:16:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68535
Bug ID: 68535
Summary: arm.c: 5 * set but not used
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
1.
[trunk/gcc/config/arm/arm.c:14167]: (style) Variable 'base_reg' is assigned a
value that is never used.
Possible candidate for deletion.
2.
[trunk/gcc/config/arm/arm.c:14723]: (style) Variable 'i' is assigned a value
that is never used.
Strange looking for loop. Maybe rewrite it ?
3.
[trunk/gcc/config/arm/arm.c:21716]: (style) Variable 'insn' is assigned a value
that is never used.
Not sure if the instruction should be used someplace later.
4.
[trunk/gcc/config/arm/arm.c:23772]: (style) Variable 'pushed_words' is assigned
a value that is never used.
Candidate for deletion.
5.
[trunk/gcc/config/arm/arm.c:24059]: (style) Variable 'regs_to_pop' is assigned
a value that is never used.
The code that uses the variable is in a comment. Suggest either reinstate
the commented out code or remove the variable.
More information about the Gcc-bugs
mailing list