mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 16:00:55 +08:00
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
This commit is contained in:
parent
0e403ec3e0
commit
77f3d48acf
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* combine.c (distribute_notes): Handle REG_EH_RETHROW.
|
||||
|
@ -2847,7 +2847,7 @@ insn_unit (insn)
|
||||
range, don't cache it. */
|
||||
if (FUNCTION_UNITS_SIZE < HOST_BITS_PER_SHORT
|
||||
|| unit >= 0
|
||||
|| (~unit & ((1 << (HOST_BITS_PER_SHORT - 1)) - 1)) == 0)
|
||||
|| (unit & ~((1 << (HOST_BITS_PER_SHORT - 1)) - 1)) == 0)
|
||||
INSN_UNIT (insn) = unit;
|
||||
}
|
||||
return (unit > 0 ? unit - 1 : unit);
|
||||
|
@ -588,7 +588,7 @@ insn_unit (insn)
|
||||
range, don't cache it. */
|
||||
if (FUNCTION_UNITS_SIZE < HOST_BITS_PER_SHORT
|
||||
|| unit >= 0
|
||||
|| (~unit & ((1 << (HOST_BITS_PER_SHORT - 1)) - 1)) == 0)
|
||||
|| (unit & ~((1 << (HOST_BITS_PER_SHORT - 1)) - 1)) == 0)
|
||||
INSN_UNIT (insn) = unit;
|
||||
}
|
||||
return (unit > 0 ? unit - 1 : unit);
|
||||
|
Loading…
x
Reference in New Issue
Block a user