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: [PATCH] Fix PR45172


On 11/15/2010 07:54 AM, Richard Guenther wrote:
> 	PR middle-end/45172
> 	* tree-eh.c (cleanup_empty_eh_unsplit): Avoid creating duplicate
> 	edges.

Ok with,

> +       FOR_EACH_EDGE (e2, ei2, e->src->succs)
> + 	if (e2->dest == e_out->dest)
> + 	  return false;

find_edge, as mentioned by Steven.


r~


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