public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/34592]  New: useless computation found
Date: Wed, 26 Dec 2007 13:46:00 -0000	[thread overview]
Message-ID: <bug-34592-9596@http.gcc.gnu.org/bugzilla/> (raw)

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	other threads:[~2007-12-26 13:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-26 13:46 dcb314 at hotmail dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-34592-9596@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).