I just tried to bootstrap the GNU C compiler 4.3 snapshot
20071221 with the most excellent Intel C compiler version 10.1

The Intel compiler said

1.

gcc-4.3-20071221/fixincludes/fixincl.c(1049): remark #593: variable "name_len"
was set but never used

I had a look at the source code and I agree with the compiler.
Suggest delete local variable name_len.

2.

gcc-4.3-20071221/libdecnumber/decNumber.c(7406): remark #593: variable "dnexp"
was set but never used

I had a look at the source code and I agree with the compiler.
Suggest delete local variable dnexp.

3.

gcc-4.3-20071221/gcc/c-decl.c(4701): remark #593: variable "type_as_written"
was set but never used
gcc-4.3-20071221/gcc/c-decl.c(3977): remark #593: variable "typedef_type" was
set but never used

More of the same. Suggest delete local variables type_as_written and
typedef_type.


-- 
           Summary: useless computation found
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34592

Reply via email to