aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-11-23 13:40:04 +0100
committerMartin Liska <mliska@suse.cz>2020-12-04 10:13:51 +0100
commit7caa49706316e650fb67719e1a1bf3a35054b685 (patch)
treebfe3d80eb7261ea7781761b41c645f4951d47e1b /gcc/tree.c
parent241a2c498005207d52a3d64884e41953fc00275c (diff)
downloadgcc-7caa49706316e650fb67719e1a1bf3a35054b685.zip
gcc-7caa49706316e650fb67719e1a1bf3a35054b685.tar.gz
gcc-7caa49706316e650fb67719e1a1bf3a35054b685.tar.bz2
Refactor -frecord-gcc-switches.
gcc/ChangeLog: * doc/tm.texi: Change argument of the record_gcc_switches hook and remove SWITCH_TYPE_* enum values. * dwarf2out.c (gen_producer_string): Move to opts.c and remove handling of the dwarf_record_gcc_switches option. (dwarf2out_early_finish): Use moved gen_producer_string function. * opts.c (gen_producer_string): New. * opts.h (gen_producer_string): New. * target.def: Change type of record_gcc_switches. * target.h (enum print_switch_type): Remove. (elf_record_gcc_switches): Change first argument. * toplev.c (MAX_LINE): Remove. (print_to_asm_out_file): Likewise. (print_to_stderr): Likewise. (print_single_switch): Likewise. (print_switch_values): Likewise. (init_asm_output): Use new gen_producer_string function. (process_options): Likewise. * varasm.c (elf_record_gcc_switches): Just save the string argument to the ELF container.
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions