[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-07-04 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-07-04 18:21 --- I checked the current gcc-4_0-rhl-branch in CVS. It has the same problem. Can we revisit bug 18556? I can test both. -- What|Removed |Added -

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-07-04 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-07-04 17:59 --- Gcc Red Hat 4.0.0-8 seems OK. Does Red Hat have a fix on gcc-4_0-rhl-branch? This bug makes it very hard to debug binaries generated by gcc 4.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21828

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 17:54 --- *** Bug 22295 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-06-05 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-06-06 00:47 --- Indeed, this patch seems to fix the problem. (Untested as of yet, beyond running the debug.exp tests and the original testcase.) Joseph, Richard, any thoughts on the appropriateness of this for the C fron

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-06-05 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-06-06 00:21 --- In fact, the C++ front end calls cgraph_optimize before check_global_declarations, so it's at least possible to make the calls in that order. It's possible that we miss some warnings or something that way,

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-06-05 Thread mark at codesourcery dot com
--- Additional Comments From mark at codesourcery dot com 2005-06-06 00:15 --- Subject: Re: [4.0/4.1 Regression] debug info omitted for global variables pinskia at gcc dot gnu dot org wrote: > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-05 > 23:50 ---

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-06-05 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-05 23:50 --- (In reply to comment #3) > Is there a test case for this bug? (The usual things: preprocessed source, > command-line, etc.?) >From : You can reproduce it us

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-06-05 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-06-05 23:48 --- Is there a test case for this bug? (The usual things: preprocessed source, command-line, etc.?) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21828

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-05-31 Thread bonzini at gcc dot gnu dot org
--- Additional Comments From bonzini at gcc dot gnu dot org 2005-05-31 13:11 --- Ulrich Weigand wrote: When building with -funit-at-a-time (which is on by default with -O2), *no* debug info for global variables appears to be emitted at all. The problem appears to be this piece of code