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]
Other format: [Raw text]

Re: [RFC] RTL prologue/epilogue for SPARC


> Ironically, Joern tweaked his patch for platforms without RTL epilogue
> like the current SPARC.  Joern, could you give a quick overview of what
> your patch does/add/modifies in the compiler?  Thanks in advance.

Ok, the problem is that fixup_fallthru_exit_predecessor is not invoked 
anymore if the target has RTL epilogue.  Now force_nonfallthru_and_redirect 
can't work on the EXIT_BLOCK_PTR if the target has no return insn.

So basically fixup_reorder_chain can't call force_nonfallthru on the edge 
leading to the EXIT_BLOCK_PTR if the target has RTL epilogue but no return 
insn.

Joern, it seems to me that fixup_fallthru_exit_predecessor should still be 
invoked if the target has no return insn.  What do you think about that?

-- 
Eric Botcazou


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