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: [tree-ssa] Fix make_goto_expr_edges for computed gotos


In message <20030820172358.GA29792@atrey.karlin.mff.cuni.cz>, Zdenek Dvorak wri
tes:
 >On tree-ssa-cfg I remove the ordinary labels instead, redirecting the
 >jumps to the special label.  I am not quite sure what you mean by
 >"penalizing" -- I don't think it affects any optimizations.
Edges for nonlocal gotos and the like are abnormal edges and we inhibit certain
optimizations in the presence of abnormal edges.

For example if either operand of a copy (either an explicit one or an
implicit one from a PHI node) is used as a PHI alternative associated
with an abnormal edge, then the copy can not be propagated (as doing so
may require the out-of-ssa pass to insert a copy on an abnormal critical
edge, which is bloody hard).


jeff


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