[multiple changes]
authorAlexander Monakov <amonakov@gcc.gnu.org>
Thu, 29 Jan 2009 10:53:15 +0000 (13:53 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Thu, 29 Jan 2009 10:53:15 +0000 (13:53 +0300)
commit72a54528dbba23fab21e2997bb6a3d80bf6f1a13
treee1c0f02d0bea7bb353dc7730715660e5d5155263
parentd748c4062c7c457d19048217b0adb28021d4b058
[multiple changes]

2009-01-29  Andrey Belevantsev  <abel@ispras.ru>
    Alexander Monakov  <amonakov@ispras.ru>

PR middle-end/38857
* sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard
register.
(move_exprs_to_boundary): Change return type and pass through
should_move from move_op.  Relax assert.  Update usage ...
(schedule_expr_on_boundary): ... here.  Use should_move instead of
cant_move.
(move_op_orig_expr_found): Indicate that insn was disconnected from
stream.
(code_motion_process_successors): Do not call after_merge_succs
callback if original expression was not found when traversing any of
the branches.
(code_motion_path_driver): Change return type.  Update prototype.
(move_op): Update comment.  Add a new parameter (should_move).  Update
prototype.  Set *should_move based on indication provided by
move_op_orig_expr_found.

2009-01-29  Steve Ellcey  <sje@cup.hp.com>

PR middle-end/38857
* gcc.c-torture/compile/pr38857.c: New test.

From-SVN: r143753
gcc/ChangeLog
gcc/sel-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr38857.c [new file with mode: 0644]