[tree-ssa] Insert on edge fix
Jeff Sturm
jsturm@one-point.com
Fri Jun 20 13:37:00 GMT 2003
On Fri, 20 Jun 2003 law@redhat.com wrote:
> I haven't looked into your problem, but it might be worth picking up
> my fix to tree-cfg.c from earlier tonight and see if it fixes your
> problem. It was clearly doing the wrong thing in its handling of switch
> statements.
Gotcha. There still may be two problems... the following is clearly
inserting to the wrong location:
else
{
fileName = file;
goto <UL9bd0>;
};
<UL9bd0>:;;
return fileName;;
fileName = T.7
plus the compile failure I reported yesterday is still there, I'll
investigate sometime today. (My example is a bit different than yours, I
don't actually have any switch statements! find_insert_location falls
through to handle_switch_split in the default case, I wonder if that's
really the right thing to do.)
Meanwhile, your EH cleanup definitely will help.
Jeff
More information about the Gcc-patches
mailing list