diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2025-09-02 15:58:26 -0700 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2025-09-02 15:58:26 -0700 |
commit | 071b4126c613881f4cb25b4e5c39032964827f88 (patch) | |
tree | 7ed805786566918630d1d617b1ed8f7310f5fd8e /gcc/toplev.cc | |
parent | 845d23f3ea08ba873197c275a8857eee7edad996 (diff) | |
parent | caa1c2f42691d68af4d894a5c3e700ecd2dba080 (diff) | |
download | gcc-devel/gfortran-test.zip gcc-devel/gfortran-test.tar.gz gcc-devel/gfortran-test.tar.bz2 |
Merge branch 'master' into gfortran-testdevel/gfortran-test
Diffstat (limited to 'gcc/toplev.cc')
-rw-r--r-- | gcc/toplev.cc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gcc/toplev.cc b/gcc/toplev.cc index 70dbb3e..d264674 100644 --- a/gcc/toplev.cc +++ b/gcc/toplev.cc @@ -1094,12 +1094,18 @@ general_init (const char *argv0, bool init_signals, unique_argv original_argv) = global_options_init.x_flag_show_column; global_dc->set_show_highlight_colors (global_options_init.x_flag_diagnostics_show_highlight_colors); + global_dc->set_show_nesting + (global_options_init.x_flag_diagnostics_show_nesting); + global_dc->set_show_nesting_locations + (global_options_init.x_flag_diagnostics_show_nesting_locations); + global_dc->set_show_nesting_levels + (global_options_init.x_flag_diagnostics_show_nesting_levels); global_dc->set_internal_error_callback (internal_error_function); const unsigned lang_mask = lang_hooks.option_lang_mask (); - global_dc->set_option_manager - (std::make_unique<compiler_diagnostic_option_manager> (*global_dc, - lang_mask, - &global_options), + global_dc->set_option_id_manager + (std::make_unique<compiler_diagnostic_option_id_manager> (*global_dc, + lang_mask, + &global_options), lang_mask); global_dc->push_owned_urlifier (make_gcc_urlifier (lang_mask)); |