https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64286
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Jan 14 20:24:05 2015 New Revision: 219614 URL: https://gcc.gnu.org/viewcvs?rev=219614&root=gcc&view=rev Log: Backported from mainline 2015-01-13 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/64286 * ree.c (combine_reaching_defs): Move part of comment earlier, remove !SCALAR_INT_MODE_P check. (add_removable_extension): Don't add vector mode extensions if all uses of the source register aren't the same vector extensions. * gcc.target/i386/avx2-pr64286.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/avx2-pr64286.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/ree.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog