This is the mail archive of the gcc-patches@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]

Re: Simple commit_edge_insertions fix


> On Sun, May 14, 2000 at 10:14:56PM +0200, Jan Hubicka wrote:
> > Commit edge insertions crashes when asked to emit insn on sibling call edge.
> > This can be handled in same way as jump instructions.
> 
> Err.. no it can't.  There is no way to insert *anything* on the
> edge after a sibcall.  We've already jumped to the next function.
> 
> We can do this for unconditional jumps only because we know that
> they do not affect machine state in any non-trivial way.
Hmm, you are sure.
In that case the sibling call to exit edge outght to have abnormall flag or not?

Honza
> 
> 
> r~

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