diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-01-17 05:39:47 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-01-17 05:44:30 -0800 |
commit | bf09d886a4be1031f7003073115af6cbc5575353 (patch) | |
tree | eef353351a64157dbc3f1637cc0222db4d3cb17f /gcc | |
parent | 5f0303833d542b273da33e4b149974e739d350e5 (diff) | |
download | gcc-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