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: PR opt/12863


On Sun, Jan 11, 2004 at 11:23:18PM +0100, Jan Hubicka wrote:
> 	* cfgcleanup.c (label_is_jump_target_p): Move to...
> 	* rtlanal.c (label_is_jump_target_p): ... here.
> 	* cfgrtl.c (cfg_layout_redirect_edge_and_branch):  Fix redirecting of fallthru
> 	edges unified with branch edges.

Ok, except,

> ! 	  e->flags &= ~EDGE_FALLTHRU;
> ! 	  if (!redirect_branch_edge (e, dest))
>   	    abort ();
> + 	  e->flags |= EDGE_FALLTHRU;
> + 	  if (rtl_dump_file)
> + 	    fprintf (rtl_dump_file, "Fallthru edge unified with branch %i->%i redirected to %i\n",
> + 		     e->src->index, e->dest->index, dest->index);
> + 	  return true;

Dump needs to come first to be meaningful.  Split long lines by
splitting the string constant.


r~


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