diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-06-09 18:37:58 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-06-09 18:37:58 -0400 |
commit | 88cc26afec80dae40d8e08de0e6db6c308e64f79 (patch) | |
tree | c05aef57bb22278227bb475492e2696b1a19193c /eval.c | |
parent | cad5dc5cc50a43203971939fd2806bfbf9a5dac9 (diff) | |
download | bfs-88cc26afec80dae40d8e08de0e6db6c308e64f79.tar.xz |
Re-work optimization levels.
-O3 is the new default, for the future cost-based optimizer. -O4
enables the surprising/aggressive optimizations that used to be under
-O3. -Ofast is a synonym for -O4.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -917,9 +917,9 @@ int eval_cmdline(const struct cmdline *cmdline) { return 0; } - if (cmdline->optlevel >= 3 && cmdline->expr->eval == eval_false) { + if (cmdline->optlevel >= 4 && cmdline->expr->eval == eval_false) { if (cmdline->debug & DEBUG_OPT) { - fputs("-O3: skipping evaluation of top-level -false\n", stderr); + fputs("-O4: skipping evaluation of top-level -false\n", stderr); } return 0; } |