This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DWARF2 bugs debug/10000 to debug/10005


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]