http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50962
Ilya Enkovich <enkovich.gnu at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |enkovich.gnu at gmail dot | |com --- Comment #3 from Ilya Enkovich <enkovich.gnu at gmail dot com> 2011-11-02 13:06:07 UTC --- Current optimization use only splits to transform arithmetic into lea and vice versa. It does not work for move because corresponding lea template will be equal. We can check if lea is required during instruction emit. I have a patch to fix it. Bootstrap and make check passed. I'm currently checking performance changes.