This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/41974] New: gcc/genautomata.c, gcc/builtins.c: 4 * set but not used


I just had a look at the source code of
gcc version 4.5 snapshot 20091105 and I notice that

1.

for source code file gcc/genautomata.c, function
check_regexp_units_distribution,
local variable cycle2 is set but unused.

This looks like a candidate for deletion to me.

2.

for source code file gcc/builtins.c, function expand_builtin_mathfn,
local variable before_call looks set but not used.

Another candidate for deletion.

3.

same source code file gcc/builtins.c, function expand_powi, local variable
"val" is set but not used.

4.

same source code file gcc/builtins.c, function expand_builtin_expect, local
variable
"c" is set but not used.


-- 
           Summary: gcc/genautomata.c, gcc/builtins.c: 4 * set but not used
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: minor
          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=41974


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]