summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 0f5a19f9e99..0bc82264542 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -481,7 +481,7 @@ div_and_round_double (code, uns,
int overflow = 0;
if ((hden == 0) && (lden == 0))
- abort ();
+ overflow = 1, lden = 1;
/* calculate quotient sign and convert operands to unsigned. */
if (!uns)
@@ -2672,13 +2672,13 @@ simple_operand_p (exp)
are converted to
(unsigned) (X - 2) <= 3
- We decribe each set of comparisons as being either inside or outside
+ We describe each set of comparisons as being either inside or outside
a range, using a variable named like IN_P, and then describe the
range with a lower and upper bound. If one of the bounds is omitted,
it represents either the highest or lowest value of the type.
In the comments below, we represent a range by two numbers in brackets
- preceeded by a "+" to designate being inside that range, or a "-" to
+ preceded by a "+" to designate being inside that range, or a "-" to
designate being outside that range, so the condition can be inverted by
flipping the prefix. An omitted bound is represented by a "-". For
example, "- [-, 10]" means being outside the range starting at the lowest