------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-16 
01:23 -------
Neither patches are fully complete and here is why,
even though fold creates a new CALL_EXPR, we still need to copy the eh_region 
the function can throw 
so Steven's patch is not complete, we don't check for this right now but it is 
hard to test for (maybe).
Second if we have a throw to a throw to a non throw function, we need to clean 
up the regions, so my 
patch in comment #12 is not complete.

I have a fix which I am writting up right now which combines the two problems, 
we have to change the 
interface for set_rhs and fold_stmt so they return if you need to removal of eh 
edges.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21399

Reply via email to