diff options
author | Richard Biener <rguenther@suse.de> | 2022-05-10 09:47:06 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-05-10 11:40:50 +0200 |
commit | d4694846102a9589558dd509ef70b7960063935d (patch) | |
tree | 0391f149be47e79a1216fafac117599bb06ba6ef /libgcc | |
parent | 5b7a9751f55bcdb7d9a69345e02f62aaa7035d6b (diff) | |
download | gcc-d4694846102a9589558dd509ef70b7960063935d.zip gcc-d4694846102a9589558dd509ef70b7960063935d.tar.gz gcc-d4694846102a9589558dd509ef70b7960063935d.tar.bz2 |
Properly use opts in finish_options
When code was moved from process_options to finish_options it
was not properly adjusted to look at and alter the opts set
passed to the function but continued to modify the global options
set. The following rectifies this and makes sure the same
mistake isn't repeated by poisoning global_options{,_set}.
2022-05-10 Richard Biener <rguenther@suse.de>
* flags.h (dwarf_debuginfo_p): Add opts argument, guard
API with !GENERATOR_FILE.
* opts.cc (global_options): Poison.
(global_options_set): Likewise.
(finish_options): Refer to options via opts.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions