public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/34592]  New: useless computation found
@ 2007-12-26 13:46 dcb314 at hotmail dot com
  2007-12-26 14:01 ` [Bug bootstrap/34592] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2007-12-26 13:46 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-05-06 10:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-26 13:46 [Bug bootstrap/34592] New: useless computation found dcb314 at hotmail dot com
2007-12-26 14:01 ` [Bug bootstrap/34592] " pinskia at gcc dot gnu dot org
2008-01-03 22:02 ` [Bug other/34592] " dcb314 at hotmail dot com
2008-01-03 22:23 ` dcb314 at hotmail dot com
2008-01-04  9:33 ` aldot at gcc dot gnu dot org
2008-01-04 19:10 ` dcb314 at hotmail dot com
2008-01-08 17:56 ` manu at gcc dot gnu dot org
2010-05-06 10:59 ` manu at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).