On Thu, 2011-06-02 at 15:29 +0400, Alexander Monakov wrote:
> Bernd,
> 
> The problem is INSN_COND should be reset when initializing a new deps
> structure, otherwise instructions may get stale conditions from other
> previously analyzed instructions.  Presuming that sd_init_insn is the
> proper place for that, I'll test the following patch.
> 
> 
> 2011-06-02  Alexander Monakov  <amona...@ispras.ru>
> 
>       * sched-deps.c (sd_init_insn): Initialize INSN_COND.
>       * sel-sched.c (move_op): Use correct type for 'res'.  Verify that
>       code_motion_path_driver returned 0 or 1.

I tested this patch on my IA64 HP-UX box and did not see any
regressions.  It fixed the problem I was having.

Steve Ellcey
s...@cup.hp.com

Reply via email to