[Bug c/35505] New: builtins.c: 5 * set but not used
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Mar 8 07:54:00 GMT 2008
I just applied Intel C to a bootstrap build of GNU
C version 4.4 snapshot 20080229.
The Intel compiler said
../../src/gcc-4.4-20080229/gcc/builtins.c(2868): remark #593: variable "val"
was set but never used
../../src/gcc-4.4-20080229/gcc/builtins.c(5152): remark #593: variable "c" was
set but never used
../../src/gcc-4.4-20080229/gcc/builtins.c(11777): remark #593: variable "dest"
was set but never used
../../src/gcc-4.4-20080229/gcc/builtins.c(11777): remark #593: variable "flag"
was set but never used
../../src/gcc-4.4-20080229/gcc/builtins.c(1195): remark #593: variable
"apply_args_reg_offset" was set but never used
I've just manually checked each of these five and
I agree with the Intel C compiler.
Suggest delete these four dead local variables
and one dead static variable.
--
Summary: builtins.c: 5 * set but not used
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcb314 at hotmail dot com
GCC host triplet: suse-linux-x86_64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35505
More information about the Gcc-bugs
mailing list