Commit 766890e1 by Andreas Jaeger Committed by Andreas Jaeger

ssa-dce.c (note_inherently_necessary_set): Add unused attribute.

        * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
        (find_inherently_necessary): Remove unused variable.

From-SVN: r43690
parent dfb5868d
2001-07-02 Andreas Jaeger <aj@suse.de>
* ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
(find_inherently_necessary): Remove unused variable.
2001-07-02 Nathan Sidwell <nathan@codesourcery.com> 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
* c-common.h (TDI_inlined): New ast dump phase. * c-common.h (TDI_inlined): New ast dump phase.
......
/* Dead-code elimination pass for the GNU compiler. /* Dead-code elimination pass for the GNU compiler.
Copyright (C) 2000 Free Software Foundation, Inc. Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Written by Jeffrey D. Oldham <oldham@codesourcery.com>. Written by Jeffrey D. Oldham <oldham@codesourcery.com>.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -333,11 +333,11 @@ inherently_necessary_register (current_rtx) ...@@ -333,11 +333,11 @@ inherently_necessary_register (current_rtx)
/* Called via note_stores for each store in an insn. Note whether /* Called via note_stores for each store in an insn. Note whether
or not a particular store is inherently necessary. Store a or not a particular store is inherently necessary. Store a
nonzero value in inherently_necessary_p if such a storeis found. */ nonzero value in inherently_necessary_p if such a store is found. */
static void static void
note_inherently_necessary_set (dest, set, data) note_inherently_necessary_set (dest, set, data)
rtx set; rtx set ATTRIBUTE_UNUSED;
rtx dest; rtx dest;
void *data; void *data;
{ {
...@@ -364,7 +364,6 @@ static int ...@@ -364,7 +364,6 @@ static int
find_inherently_necessary (x) find_inherently_necessary (x)
rtx x; rtx x;
{ {
rtx pattern;
if (x == NULL_RTX) if (x == NULL_RTX)
return 0; return 0;
else if (inherently_necessary_register (x)) else if (inherently_necessary_register (x))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment