This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Any hints on this problem? Thanks!
$ANbjX writes:
> >
> > Make sure that the called function restores the original state of the
> > program before it returns.
> >
> > Andreas.
> Thanks~. I know the goal is to restore the original state before the
> inserted function returns. BUT, how to? Is there any way to tell gcc:
> "Hey, you should restore the original state before that function
> returns". I want hints on how to and the existing interfaces in gcc
> to do this :-).
He's telling you that you have to do it yourself, in the code that you
just inserted.
Andrew.