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
This commit is contained in:
Andreas Jaeger 2001-07-02 16:46:12 +02:00 committed by Andreas Jaeger
parent dfb5868dcf
commit 766890e16d
2 changed files with 17 additions and 13 deletions

View File

@ -1,3 +1,8 @@
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>
* c-common.h (TDI_inlined): New ast dump phase.

View File

@ -1,5 +1,5 @@
/* 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>.
This file is part of GNU CC.
@ -333,11 +333,11 @@ inherently_necessary_register (current_rtx)
/* Called via note_stores for each store in an insn. Note whether
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
note_inherently_necessary_set (dest, set, data)
rtx set;
rtx set ATTRIBUTE_UNUSED;
rtx dest;
void *data;
{
@ -364,7 +364,6 @@ static int
find_inherently_necessary (x)
rtx x;
{
rtx pattern;
if (x == NULL_RTX)
return 0;
else if (inherently_necessary_register (x))