This is the mail archive of the gcc@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: using emit_library_call


On Wed, Aug 07, 2002 at 12:06:55AM +0200, Per Fransson wrote:
> Wont't I have to *put* the labels themselves in the tree then?

Of course.  That's what a LABEL_EXPR is.

Though, thinking about this more, you're out of luck
either way.  Labels that are not used for flow control
are not completely fixed in position.  They can float
about some as the optimizer sees fit.

I highly recommend you give this up as a bad job and
have your function do the store as well.  Then that
label that you cared about is __builtin_return_address(0).

Also, if you're trying to do some sort of memory checker,
I recommend that you talk to fche@redhat.com, as he is
working on something along those lines, but with a better
design for hooking into the compiler.


r~


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