This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Restore -g1
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Nov 2009 11:49:04 +0100 (CET)
- Subject: [PATCH] Restore -g1
This fixes -g1 which was broken by fld being over-aggressively enabled.
Committed as obvious.
Richard.
Index: gcc/ChangeLog
===================================================================
*** gcc/ChangeLog (revision 154778)
--- gcc/ChangeLog (working copy)
***************
*** 1,5 ****
--- 1,10 ----
2009-11-30 Richard Guenther <rguenther@suse.de>
+ * tree.c (free_lang_data): Do not set debug_info_level to
+ none if terse.
+
+ 2009-11-30 Richard Guenther <rguenther@suse.de>
+
PR middle-end/42119
PR fortran/38530
* expr.c (expand_expr_addr_expr_1): Properly expand the initializer
Index: gcc/tree.c
===================================================================
*** gcc/tree.c (revision 154774)
--- gcc/tree.c (working copy)
*************** free_lang_data (void)
*** 4934,4940 ****
/* FIXME. Remove after save_debug_info is working. */
if (!(flag_generate_lto
! || (!flag_gtoggle && debug_info_level <= DINFO_LEVEL_TERSE)))
return 0;
/* Traverse the IL resetting language specific information for
--- 4934,4940 ----
/* FIXME. Remove after save_debug_info is working. */
if (!(flag_generate_lto
! || (!flag_gtoggle && debug_info_level == DINFO_LEVEL_NONE)))
return 0;
/* Traverse the IL resetting language specific information for