[Bug tree-optimization/37709] [4.4 Regression] inlining causes explosion in debug info

hubicka at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 22 14:46:00 GMT 2009



------- Comment #13 from hubicka at gcc dot gnu dot org  2009-02-22 14:46 -------
There are obviously giant trees of blocks that have all variables unused and no
statements in them coming from the early inliner.  I am getting convinced we
can safely prune those even at -g3: user can not breakpoint into the block in
any way and can't ask for the value....

So I guess we could be at -g eliminating inner blocks with no used variables
and no statements just keeping around blocks with statements including the
unused vars so we can get proper "optimized out" debugger info.

I will prepare patch for this.

Honza


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37709



More information about the Gcc-bugs mailing list