I promised to check the 2nd version of the patch I sent two days
ago. I checked it on ppc, x86, x86_64, and itanium (bootstrap and gcc
torture testsuite). The results look good now. I also added a change
in gcc documentation about RA behaviour on clobbers.
OK to commit to the trunk?
2008-09-24 Vladimir Makarov <vmakarov@redhat.com>
PR middle-end/37535
* ira-lives.c (mark_reg_live, mark_reg_dead): New functions.
(mark_ref_live, mark_ref_dead): Use them.
(def_conflicts_with_inputs_p): Remove.
(mark_early_clobbers): New function.
(process_bb_node_lives): Call preprocess_constraints and
mark_early_clobbers.
* doc/rtx.texi (clobber): Change how RA deals with clobbers.