flow.c (last_mem_set): Delete variable.
authorChristian Bruel <christian.bruel@st.com>
Mon, 18 Jan 1999 03:01:26 +0000 (20:01 -0700)
committerJeff Law <law@gcc.gnu.org>
Mon, 18 Jan 1999 03:01:26 +0000 (20:01 -0700)
commitdb3a887b316ff69a56a3d556eb893de68a45ef6a
tree5b167ce3ab89fb45fd43e6c17c1691a58121fda4
parent586fd9391263c7f7e7cc60c9c0e14954c2917384
flow.c (last_mem_set): Delete variable.

        * flow.c (last_mem_set): Delete variable.  References removed.
        (mem_set_list): New variable.
        (life_analysis): Initialize and finalize alias analysis.
        (propagate_block); Initialize mem_set_list.  Clear for CALL_INSNs.
        (insn_dead_p): For a store to memory, search the entire mem_set_list
        for a match.
        (mark_set_1): Kill entries on the mem_set_list for aliased writes or
        changes to their addresses.  Add new entries to the mem_set_list for
        memory writes writes.
        (mark_used_regs): Kill entries on the mem_set_list which may be
        referenced by a load operation.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r24734
gcc/ChangeLog
gcc/flow.c