[Bug middle-end/39885] Missed fre optimization

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 24 15:17:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list