https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69941
--- Comment #6 from Bernd Schmidt <bernds at gcc dot gnu.org> --- Author: bernds Date: Tue Mar 15 03:10:31 2016 New Revision: 234209 URL: https://gcc.gnu.org/viewcvs?rev=234209&root=gcc&view=rev Log: Backport PR69941 patch from mainline. PR rtl-optimization/69941 * postreload.c (reload_combine_recognize_pattern): Ensure all uses of the reg share its mode. PR rtl-optimization/69941 * gcc.dg/torture/pr69941.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/torture/pr69941.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/postreload.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
