diff options
author | Richard Biener <rguenther@suse.de> | 2021-10-05 12:35:57 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-10-05 13:34:43 +0200 |
commit | 9856132b5b8a5e75a81763fe06e4b8c06011d870 (patch) | |
tree | 095fc13b73ea781a3b32712dfd93920633197d7f /compile | |
parent | eded91050982dc4d7968fecf65469f1ef68854f9 (diff) | |
download | gcc-9856132b5b8a5e75a81763fe06e4b8c06011d870.zip gcc-9856132b5b8a5e75a81763fe06e4b8c06011d870.tar.gz gcc-9856132b5b8a5e75a81763fe06e4b8c06011d870.tar.bz2 |
Make flow of option processing more readily visible
This moves calls to various option processing stages to one place,
toplev::main.
2021-10-05 Richard Biener <rguenther@suse.de>
* toplev.c (no_backend): Remove global var.
(process_options): Pass in no_backend, move post_options
langhook call to toplev::main.
(do_compile): Pass in no_backend, move process_options call
to toplev::main.
(toplev::run_self_tests): Check no_backend at the caller.
(toplev::main): Call post_options and process_options
split out from do_compile, do self-tests only if
no_backend is initialized.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions