DWARF2 bugs debug/10000 to debug/10005

Graham Stott graham.stott@btinternet.com
Sun Mar 16 22:22:00 GMT 2003


Daniel Jacobowitz wrote:
> On Sun, Mar 16, 2003 at 01:05:53AM -0800, Richard Henderson wrote:
> 
>>On Sat, Mar 08, 2003 at 11:50:06AM -0300, Werner Almesberger wrote:
>>
>>>The bugs that are the most worrysome for me are the ones that cause
>>>breakpoints to be silently skipped, e.g. debug/10002 (labels get
>>>moved out of the code path), because this will confuse scripts.
>>
>>Labels that are not actively involved with control flow will have
>>no fixed anchor, and will float about somewhat randomly.  This can't
>>be helped without severely pessimizing code generation.
> 
> 
> Would putting a "goto label" right before the label move it into the
> control flow enough for this purpose?
> 

Yes if the goto is itself is reachable otherwise it'll be dead code which
gets deleted and your are back at square one.

Graham



More information about the Gcc-bugs mailing list