------- Comment #7 from jeremy at goop dot org 2006-10-01 05:55 ------- Subject: Re: local label-as-value being placed before function prolog
pinskia at gcc dot gnu dot org wrote: > what do you really want? Because what you have mentioned so far seems like > you > should be writting a .s file and not something in C. > I'm replacing a bunch of arch-specific assembler with C, because generating assembler to emit structure definitions is just painful makework. All I need is a bit of cooperation from gcc to generate a label pointing to the right instruction, and it will save me a heap of code. There is also another set of Linux patches which are trying to use labels in a similar way to mark tracepoints in the code, for later insertion of instrumentation, which will clearly not be reliable with gcc in its current state. > Read the documentation again. > I have, in detail, and it doesn't really preclude how I want to use these labels. I do not want to jump into the function from outside, or use goto on them at all. But that doesn't mean I don't have a use for them. > Actually it sounds like you would like to have more information for people > filing bug reports well this is not the correct way of doing it. You should > plan a better way. > I'm not sure I can parse this. But I'd like you to consider this as a feature request for gcc, because from my perspective gcc doing what I want is far better than the alternatives. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29305