------- Comment #11 from t66667 at gmail dot com 2010-09-15 00:23 ------- FYI, I applied these to gcc-trunk for testing purposes. [PATCH 1/6] Factor out is_gimple_reg calls. [PATCH 2/6] A function is affine when CHREC_RIGHT is invariant. [PATCH 3/6] Fix chrec_contains_symbols_defined_in_loop. [PATCH 4/6] Also handle ARRAY_REFs in instantiate_scev_r.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45230