aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-01-17 05:39:47 -0800
committerNathan Sidwell <nathan@acm.org>2020-01-17 05:44:30 -0800
commitbf09d886a4be1031f7003073115af6cbc5575353 (patch)
treeeef353351a64157dbc3f1637cc0222db4d3cb17f /gcc
parent5f0303833d542b273da33e4b149974e739d350e5 (diff)
downloadgcc-bf09d886a4be1031f7003073115af6cbc5575353.zip
gcc-bf09d886a4be1031f7003073115af6cbc5575353.tar.gz
gcc-bf09d886a4be1031f7003073115af6cbc5575353.tar.bz2
[PR93306] Short-circuit has_include
the preprocessor evaluator has a skip_eval counter, but we weren't checking it after parsing has_include(foo), but before looking for foo. Resulting in unnecessary io for 'FALSE_COND && has_include <foo>' PR preprocessor/93306 * expr.c (parse_has_include): Refactor. Check skip_eval before looking.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions