https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69941
--- Comment #7 from Bernd Schmidt <bernds at gcc dot gnu.org> --- Author: bernds Date: Tue Mar 15 03:14:38 2016 New Revision: 234210 URL: https://gcc.gnu.org/viewcvs?rev=234210&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-5-branch/gcc/testsuite/gcc.dg/torture/pr69941.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/postreload.c branches/gcc-5-branch/gcc/testsuite/ChangeLog
