final.c (cleanup_subreg_operands): New function.
authorJeffrey A Law <law@cygnus.com>
Tue, 27 Oct 1998 23:19:31 +0000 (23:19 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 27 Oct 1998 23:19:31 +0000 (16:19 -0700)
commit0304f7877c4c65d129ea00cc2964a0998b9031ce
treec70a7a8b1e67a64ee37c4cbef242efc253b9a280
parentbd09c530b225d9d838c63842e605aafe12a817e3
final.c (cleanup_subreg_operands): New function.

        * final.c (cleanup_subreg_operands): New function.
        (final_scan_insn): Use it.
        (alter_subreg): Clear the "used" field when we turn a SUBREG into
        a REG.
        * reload1.c (reload): Delete CLOBBER insns and also cleanup SUBREG
        operands when reload has finished.
        * reload.h (cleanup_subreg_operands): Declare..
        * flow.c (life_analysis_1): No longer delete CLOBBER insns after
        reload.  Handled in reload itself.
Should fix sh, sparc and probably other problems with post-reload life pass
and scheduling interactions.

From-SVN: r23377
gcc/ChangeLog
gcc/final.c
gcc/flow.c
gcc/reload.h
gcc/reload1.c