------- Comment #9 from amonakov at gcc dot gnu dot org  2009-01-29 10:53 
-------
Subject: Bug 38857

Author: amonakov
Date: Thu Jan 29 10:53:15 2009
New Revision: 143753

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143753
Log:
2009-01-29  Andrey Belevantsev  <a...@ispras.ru>
            Alexander Monakov  <amona...@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  <s...@cup.hp.com>

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


Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr38857.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sel-sched.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38857

Reply via email to