http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54154
Paulo J. Matos <Paulo.Matos at csr dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #3 from Paulo J. Matos <Paulo.Matos at csr dot com> 2012-08-01 15:00:34 UTC --- OK, so I just noted this is not really a bug but a missed optimization: /* Assert that SRC has been copied to DEST. Adjust the data structures to reflect that SRC contains an older copy of the shared value. */ static void copy_value (rtx dest, rtx src, struct value_data *vd) { unsigned int dr = REGNO (dest); unsigned int sr = REGNO (src); unsigned int dn, sn; unsigned int i; /* ??? At present, it's possible to see noop sets. It'd be nice if this were cleaned up beforehand... */ if (sr == dr) return; ....