------- Comment #6 from rguenth at gcc dot gnu dot org 2009-04-24 15:16 ------- One thing is that for Java likely SCCVN isn't very effective for loads/stores as:
else if (!gimple_has_lhs (stmt) || gimple_has_volatile_ops (stmt) || stmt_could_throw_p (stmt)) changed = defs_to_varying (stmt); and loads/stores may throw. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39885