------- Comment #25 from hubicka at gcc dot gnu dot org 2008-02-08 15:39 ------- -fno-tree-dominator-opts -fno-tree-copyrename solves the coalescing problem (name is introduced by second, the actual problematic pattern by first pass), saving roughly 1s at both -O2 and 2s at -O3, -O3 is still worse however Internal loop no longer spills, just reads val of scan_end stored in memory.
I will play with it more later and make simple testcase for this. Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33761