summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 9ac0c6a..828a33f 100644
--- a/eval.c
+++ b/eval.c
@@ -908,6 +908,9 @@ int eval_cmdline(const struct cmdline *cmdline) {
}
if (cmdline->optlevel >= 3 && cmdline->expr->eval == eval_false) {
+ if (cmdline->debug & DEBUG_OPT) {
+ fputs("-O3: skipping evaluation of top-level -false\n", stderr);
+ }
return 0;
}