re PR other/32998 (-frecord-gcc-switches issues)
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Jul 2011 20:03:33 +0000 (22:03 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Jul 2011 20:03:33 +0000 (22:03 +0200)
commite967adf4e25eb7497495886aa4c3b9460219cd2d
tree08079f870498946fd1f1f35392bfcb011099e337
parent3a636414b2c73cb405796d4faf35640897258413
re PR other/32998 (-frecord-gcc-switches issues)

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.

From-SVN: r176652
gcc/ChangeLog
gcc/Makefile.in
gcc/common.opt
gcc/doc/invoke.texi
gcc/dwarf2out.c