This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r195853 - in /branches/google/main/gcc: doc/inv...
- From: ccoutant at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 07 Feb 2013 16:30:34 -0000
- Subject: r195853 - in /branches/google/main/gcc: doc/inv...
Author: ccoutant
Date: Thu Feb 7 16:30:31 2013
New Revision: 195853
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195853
Log:
Generate line tables for -g1 (aka -gmlt).
gcc/
* dwarf2out.c (want_pubnames): Don't do pubnames for -g1.
(add_linkage_name): Don't add linkage name for -g1.
(decls_for_scope): Process subblocks for -g1.
(dwarf2out_source_line): Output line tables for -g1.
(dwarf2out_finish): Likewise.
* tree-ssa-live.c (remove_unused_scope_block_p): Don't prune
unused scopes for -g1.
* opts.c (common_handle_option): Handle -g same as -g2.
* doc/invoke.texi: Update description for -g1.
gcc/testsuite/
* gcc.dg/debug/dwarf2/mlt1.c: New test.
* gcc.dg/debug/dwarf2/mlt2.c: New test.
Added:
branches/google/main/gcc/testsuite/gcc.dg/debug/dwarf2/mlt1.c
branches/google/main/gcc/testsuite/gcc.dg/debug/dwarf2/mlt2.c
Modified:
branches/google/main/gcc/doc/invoke.texi
branches/google/main/gcc/dwarf2out.c
branches/google/main/gcc/opts.c
branches/google/main/gcc/tree-ssa-live.c