------- Comment #10 from bonzini at gnu dot org 2010-03-17 06:41 ------- REG_EQUAL notes are not there to guarantee correctness. Relying on them to avoid misoptimization is always wrong and just hides the bug.
It is a regression from 4.2. -- bonzini at gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.2.1 Summary|[4.3/4.4/4.5 Regression] |[4.3/4.4/4.5 Regression] |possible wrong code bug |wrong loop invariant | |hoisting http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43360