[Bug rtl-optimization/11832] Optimization of common code in switch statements

aldot at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 2 15:05:00 GMT 2009



------- Comment #8 from aldot at gcc dot gnu dot org  2009-07-02 15:05 -------
Important reminder from steven from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33828#c13

stevenb> GCC should not hoist up further than up to the first common dominator.

i.e. "..can be Hoisted to B" from #3
and _not_ to the def_stmt (iff the def_stmt is not in B of course, if it is
then it's obviously the correct spot to hoist to).


-- 


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



More information about the Gcc-bugs mailing list