[Bug tree-optimization/18133] computed gotos are not folded back to regular gotos when it is found that they are not computed gotos at all
kazu at cs dot umass dot edu
gcc-bugzilla@gcc.gnu.org
Mon Jan 24 20:56:00 GMT 2005
------- Additional Comments From kazu at cs dot umass dot edu 2005-01-24 20:56 -------
Subject: Re: computed gotos are not folded
back to regular gotos when it is found that they are not computed gotos at
all
Hi Jeff,
> Interesting approach. I'm not sure if your approach is easier
> than just expanding the threading code to handle threading indirect
> jumps.
>
> I don't initially *think* that extending the threading code would be
> all that difficult. In fact, all I think we need to do is update
> the selection code to detect this case -- I think the code to update
> the CFG and SSA graphs will DTRT without any changes.
Some people do not want to see DOM getting bigger and bigger, so I
just wanted to point out that there is an approach without making DOM
any bigger, but then you're right. I don't think extending the jump
threader is all that difficult or dirty, either. Either approach
works for me.
Kazu Hirata
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18133
More information about the Gcc-bugs
mailing list