summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/opcache/Optimizer/zend_dump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/opcache/Optimizer/zend_dump.c b/ext/opcache/Optimizer/zend_dump.c
index f6d9bd519a..73ddd77a98 100644
--- a/ext/opcache/Optimizer/zend_dump.c
+++ b/ext/opcache/Optimizer/zend_dump.c
@@ -154,11 +154,15 @@ static void zend_dump_range(const zend_ssa_range *r)
fprintf(stderr, " RANGE[");
if (r->underflow) {
fprintf(stderr, "--..");
+ } else if (r->min == ZEND_LONG_MIN) {
+ fprintf(stderr, "MIN..");
} else {
fprintf(stderr, ZEND_LONG_FMT "..", r->min);
}
if (r->overflow) {
fprintf(stderr, "++]");
+ } else if (r->max == ZEND_LONG_MAX) {
+ fprintf(stderr, "MAX]");
} else {
fprintf(stderr, ZEND_LONG_FMT "]", r->max);
}