[Bug debug/86964] [7/8/9 Regression] Too many debug symbols included, especially for extern globals

2019-03-25 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964

--- Comment #9 from Jeffrey A. Law  ---
Author: law
Date: Mon Mar 25 21:19:09 2019
New Revision: 269925

URL: https://gcc.gnu.org/viewcvs?rev=269925=gcc=rev
Log:
PR debug/86964
* dwarf2out.c (premark_used_variables): New function.
(prune_unused_types_walk): Do not mark not premarked external
variables.
(prune_unused_types): Call premark_used_variables.

* gcc.dg/debug/dwarf2/pr86964.c: New testcase.

Added:
trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr86964.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog

[Bug debug/86964] [7/8/9 Regression] Too many debug symbols included, especially for extern globals

2019-02-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964

Richard Biener  changed:

   What|Removed |Added

  Known to work||4.9.4
   Target Milestone|--- |7.5
Summary|[ 7/8/9 Regression ] Too|[7/8/9 Regression] Too many
   |many debug symbols  |debug symbols included,
   |included, especially for|especially for extern
   |extern globals  |globals

[Bug debug/86964] [ 7/8/9 Regression ] Too many debug symbols included, especially for extern globals

2019-02-21 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964

Jeffrey A. Law  changed:

   What|Removed |Added

   Priority|P3  |P2
 CC||law at redhat dot com
Summary|Too many debug symbols  |[ 7/8/9 Regression ] Too
   |included, especially for|many debug symbols
   |extern globals  |included, especially for
   ||extern globals

--- Comment #8 from Jeffrey A. Law  ---
Adding regression marker per email from Richi which indicates this is a
regression relative to the pre-early-debug changes.