summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/sched.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-01-19 16:07:14 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-01-19 16:07:14 +0000
commitdf2a34902b4aa73b54581f227c58a3ca95b37318 (patch)
tree4aa817c78f627be1c77651c0fd6f13c2241e6c56 /gnu/egcs/gcc/sched.c
parentfab44a305f0ce081ffdf8c9602e66898ebc805b0 (diff)
Update to 2.95.2
Diffstat (limited to 'gnu/egcs/gcc/sched.c')
-rw-r--r--gnu/egcs/gcc/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/sched.c b/gnu/egcs/gcc/sched.c
index e8cd070e45c..f09a68ae369 100644
--- a/gnu/egcs/gcc/sched.c
+++ b/gnu/egcs/gcc/sched.c
@@ -587,7 +587,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);