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: Tree profilng merge 1 - allow inserting onto edge to EXIT_BLOCK


On Sun, 2004-06-06 at 17:45, Richard Henderson wrote:
> On Fri, May 28, 2004 at 12:52:45PM +0200, Jan Hubicka wrote:
> > 	* gimple-low.c (tree_find_edge_insert_loc):  Allow inserting before
> > 	return_stmt.
> 
> Wait on this.  Jason and I talked about redefining things such that
> we only ever have one RETURN_EXPR in a function, and that it always
> only contains just the result_decl.
> 
> I have the solution prototyped; we'll see what kind of uglies I run
> into.
Keep me informed -- how you do this has some implications for
Andrew's code (which I've taken review responsibility for) to
optimize stuff like

if (cond)
  return x;
else
  return y;

Jeff



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