This is the mail archive of the
mailing list for the GCC project.
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 firstname.lastname@example.org, as he is
working on something along those lines, but with a better
design for hooking into the compiler.