PR rtl-optimization/28726
commit8ad6f16d6c5d94a95dbd85fe112f933eea2b561f
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Sep 2006 19:28:11 +0000 (11 19:28 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Sep 2006 19:28:11 +0000 (11 19:28 +0000)
tree74dbbe65149d2c089f7ca72ba460cd78dd473966
parent0237e47b14de480975bbde36671f134234817b8a
PR rtl-optimization/28726
* sched-deps.c (sched_analyze_reg): New function extracted from...
(sched_analyze_1): ...here.  Call it to analyze references to
registers.  Treat again writes to a stack register as writing to the
register.
(sched_analyze_2): ...and here.  Call it to analyze references to
registers.  Treat again reads of a stack register as reading the
register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116855 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/sched-deps.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr28726.c [new file with mode: 0644]