[stage1][PATCH] Lower VEC_COND_EXPR into internal functions.

Martin Liška mliska@suse.cz
Wed Jun 10 13:01:40 GMT 2020


On 6/10/20 2:27 PM, Martin Liška wrote:
> /home/marxin/Programming/testcases/vect-low.c: In function ‘v2df foo(v2df, v2df, v2df, v2df)’:
> /home/marxin/Programming/testcases/vect-low.c:3:6: error: BB 2 is missing an EH edge

Ok, I was missing copying of the EH edges:

       FOR_EACH_EDGE (e, ei, gimple_bb (old_stmt)->succs)
	{
	  if (e->flags & EDGE_EH)
	    make_edge (gimple_bb (new_stmt), e->dest, e->flags);
	}

Martin


More information about the Gcc-patches mailing list