|
From: Josef W. <Jos...@gm...> - 2004-02-06 10:51:44
|
On Friday 06 February 2004 10:39, Nicholas Nethercote wrote: > On Fri, 6 Feb 2004, Doug Rabson wrote: > > > Fix for bug 73326. It seems that gcc 3.2.2 is generating > > > negatively-sized scopes and out of order line number information in the > > > stabs debug info. I wonder if this is the stabs writer rotting now that > > > dwarf is the default... > > > > I've seen both of these with old FreeBSD toolchains, typically with > > gcc-2.95.3 and binutils-2.11.2. I've attempted to fix the out-of-order > > line info problems but not yet entirely successfully. > > I saw out-of-order line number entries, ages ago, when I first hacked on > the stabs reader; I think I even added the code that allowed them to be > handled. This was over 18 months ago; maybe it disappeared in the > subsequent code edits. Just curious... What's wrong with out-of-order line numbers? If a compiler does optimization, line numbers can be shuffled according to instruction address order. Sometimes, with the Intel compiler, I get these out-of-order warnings for line numbers, too (with DWARF). Josef |