http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32998
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-22 20:03:35 UTC --- Author: jakub Date: Fri Jul 22 20:03:33 2011 New Revision: 176652 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176652 Log: PR other/32998 * common.opt (grecord-gcc-switches, gno-record-gcc-switches): New options. * dwarf2out.c: Include opts.h. (dchar_p): New typedef. Define heap VEC for it. (producer_string): New variable. (gen_producer_string): New function. (gen_compile_unit_die): Use it. (dwarf2out_finish): Fix up comp_unit_die () DW_AT_producer if needed. * Makefile.in (dwarf2out.o): Depend on $(OPTS_H). * doc/invoke.texi: Document -grecord-gcc-switches and -gno-record-gcc-switches, add a -grecord-gcc-switches reference to -frecord-gcc-switches description. Modified: trunk/gcc/ChangeLog trunk/gcc/Makefile.in trunk/gcc/common.opt trunk/gcc/doc/invoke.texi trunk/gcc/dwarf2out.c