http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647
--- Comment #7 from Uros Bizjak <ubizjak at gmail dot com> 2012-06-12 19:40:21 UTC --- Perhaps simply: --cut here-- Index: tree-ssa-phiopt.c =================================================================== --- tree-ssa-phiopt.c (revision 188475) +++ tree-ssa-phiopt.c (working copy) @@ -1830,6 +1830,11 @@ unsigned param_align_bits = (unsigned) (param_align * BITS_PER_UNIT); gimple_stmt_iterator gsi; + /* We assume that transformation is not profitable + on targets without cache. */ + if (param_align_bits == 0) + return; + /* Walk the phis in bb3 looking for an opportunity. We are looking for phis of two SSA names, one each of which is defined in bb1 and bb2. */ --cut here--