re PR rtl-optimization/15521 (sched1 extends life of hard registers on SMALL_REGISTER...
authorJ"orn Rennecke <joern.rennecke@superh.com>
Wed, 9 Jun 2004 12:48:21 +0000 (12:48 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 9 Jun 2004 12:48:21 +0000 (13:48 +0100)
commitb40742a53183a904e4902b1fcad54b7b2c6cf57d
tree2af6aebeeaeb59c31134109dad45632bf8b1a8a6
parenta4ac5dd3ef232d1b4b820960fef7f787525b8009
re PR rtl-optimization/15521 (sched1 extends life of hard registers on SMALL_REGISTER_CLASSES targets when exceptions are enabled)

PR rtl-optimization/15521:
* sched-int.h (in_post_call_group_p): Change type to enum.
* sched-deps.c (sched_analyze_insn):
(sched_analyze): When in_post_call_group_p is post_call_initial,
don't add a dependency, but still set SCHED_GROUP_P and CANT_MOVE,
and also reset in_post_call_group_p to post_call.
(sched_analyze): When the previous basic block ended in a CALL_INSN,
initialize in_post_call_group_p as post_call_initial.
(init_deps): initialize in_post_call_group_p to not_post_call.

From-SVN: r82831
gcc/ChangeLog
gcc/sched-deps.c
gcc/sched-int.h