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 c/26245]  New: 10 * local variable set but not used
Date: Sun, 12 Feb 2006 23:27:00 -0000	[thread overview]
Message-ID: <bug-26245-9596@http.gcc.gnu.org/bugzilla/> (raw)

I just tried to compile the GNU CC version 4.2 snapshot 20060211 with
the Intel C compiler.

It said

../../src/gcc-4.2-20060211/gcc/c-decl.c(4523): remark #593: variable
"type_as_written" was set but never used
../../src/gcc-4.2-20060211/gcc/tree-cfg.c(3207): remark #593: variable "src"
was set but never used
../../src/gcc-4.2-20060211/gcc/tree-dfa.c(732): remark #593: variable "v_ann"
was set but never used
../../src/gcc-4.2-20060211/gcc/tree-into-ssa.c(1441): remark #593: variable
"ann" was set but never
used
../../src/gcc-4.2-20060211/gcc/tree-outof-ssa.c(1892): remark #593: variable
"ann" was set but never used
../../src/gcc-4.2-20060211/gcc/tree-outof-ssa.c(1843): remark #593: variable
"changed" was set but never used
../../src/gcc-4.2-20060211/gcc/tree-ssa-copy.c(352): remark #593: variable
"lhs" was set but never used
../../src/gcc-4.2-20060211/gcc/tree-ssa-copy.c(674): remark #593: variable
"ann" was set but never used
../../src/gcc-4.2-20060211/gcc/tree-ssa-operands.c(957): remark #593: variable
"ann" was set but never used
../../src/gcc-4.2-20060211/gcc/tree-ssa-alias.c(1430): remark #593: variable
"n_vars" was set but never used

I've checked all of these, and they all look like local variable that can
safely
be deleted to me.


-- 
           Summary: 10 * local variable set but not used
           Product: gcc
           Version: 4.2.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: x86_64-suse-linux


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


             reply	other threads:[~2006-02-12 23:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-12 23:27 dcb314 at hotmail dot com [this message]
2006-02-12 23:31 ` [Bug other/26245] " pinskia at gcc dot gnu dot org
2010-05-06 10:57 ` manu at gcc dot gnu dot org
2010-05-06 10:58 ` 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-26245-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).