Commit 77f3d48a by Jan Hubicka Committed by Richard Henderson

Jan Hubicka <hubicka@freesoft.cz>

        * haifa-sched.c (insn_unit): Fix typo on out of range test.
        * sched.c (insn_unit): Likewise.

From-SVN: r28744
parent 0e403ec3
Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
* haifa-sched.c (insn_unit): Fix typo on out of range test.
* sched.c (insn_unit): Likewise.
Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de> Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
* combine.c (distribute_notes): Handle REG_EH_RETHROW. * combine.c (distribute_notes): Handle REG_EH_RETHROW.
......
...@@ -2847,7 +2847,7 @@ insn_unit (insn) ...@@ -2847,7 +2847,7 @@ insn_unit (insn)
range, don't cache it. */ range, don't cache it. */
if (FUNCTION_UNITS_SIZE < HOST_BITS_PER_SHORT if (FUNCTION_UNITS_SIZE < HOST_BITS_PER_SHORT
|| unit >= 0 || unit >= 0
|| (~unit & ((1 << (HOST_BITS_PER_SHORT - 1)) - 1)) == 0) || (unit & ~((1 << (HOST_BITS_PER_SHORT - 1)) - 1)) == 0)
INSN_UNIT (insn) = unit; INSN_UNIT (insn) = unit;
} }
return (unit > 0 ? unit - 1 : unit); return (unit > 0 ? unit - 1 : unit);
......
...@@ -588,7 +588,7 @@ insn_unit (insn) ...@@ -588,7 +588,7 @@ insn_unit (insn)
range, don't cache it. */ range, don't cache it. */
if (FUNCTION_UNITS_SIZE < HOST_BITS_PER_SHORT if (FUNCTION_UNITS_SIZE < HOST_BITS_PER_SHORT
|| unit >= 0 || unit >= 0
|| (~unit & ((1 << (HOST_BITS_PER_SHORT - 1)) - 1)) == 0) || (unit & ~((1 << (HOST_BITS_PER_SHORT - 1)) - 1)) == 0)
INSN_UNIT (insn) = unit; INSN_UNIT (insn) = unit;
} }
return (unit > 0 ? unit - 1 : unit); return (unit > 0 ? unit - 1 : unit);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment