This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r173198 - in /branches/google/main/gcc: ChangeL...
- From: ccoutant at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 30 Apr 2011 00:09:09 -0000
- Subject: r173198 - in /branches/google/main/gcc: ChangeL...
Author: ccoutant
Date: Sat Apr 30 00:09:02 2011
New Revision: 173198
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173198
Log:
gcc/ChangeLog:
* common.opt (generate_debug_line_table): New global var.
(gmlt): New option
* dwarf2out.c (GENERATE_MINIMUM_LINE_TABLE): New macro.
(add_pubname_string): Test for -gmlt.
(add_pubname): Likewise.
(add_src_coords_attributes): Likewise.
(decls_for_scope): Likewise.
(dwarf2out_source_line): Likewise.
(dwarf2out_finish): Likewise.
* opts.c (finish_options): Force debug info to at least level 1
if -gmlt specified.
(common_handle_option): Add OPT_gmlt.
(set_debug_level): Set generate_debug_line_table flag.
* tree-ssa-live.c (remove_unused_scope_block_p): Test for -gmlt.
* doc/invoke.texi (-gmlt): New options
gcc/testsuite/ChangeLog:
* 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/ChangeLog.google-main
branches/google/main/gcc/common.opt
branches/google/main/gcc/doc/invoke.texi
branches/google/main/gcc/dwarf2out.c
branches/google/main/gcc/opts.c
branches/google/main/gcc/testsuite/ChangeLog.google-main
branches/google/main/gcc/tree-ssa-live.c