summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-06-07 19:16:31 -0400
committerTavian Barnes <tavianator@tavianator.com>2016-06-07 19:16:31 -0400
commit21bd2698e78605917024c99b579f6daae3fb7003 (patch)
tree8b36e65fc9aaea8fd9eb0e6066e96a1d0e2dc703 /eval.c
parentcbb7cc9bf6d49ba922010f77c06cbea23f8e39de (diff)
downloadbfs-21bd2698e78605917024c99b579f6daae3fb7003.tar.xz
Implement -D opt.
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;
}