https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66306
--- Comment #2 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- Author: krebbel Date: Wed Jun 24 06:50:53 2015 New Revision: 224875 URL: https://gcc.gnu.org/viewcvs?rev=224875&root=gcc&view=rev Log: PR66306: Fix match_dups on swapped operands. 2015-06-24 Andreas Krebbel <kreb...@linux.vnet.ibm.com> PR rtl-optimization/66306 * reload.c (find_reloads): Swap the match_dup info for commutative operands. 2015-06-24 Andreas Krebbel <kreb...@linux.vnet.ibm.com> PR rtl-optimization/66306 * gcc.target/s390/pr66306.c: New test. Added: trunk/gcc/testsuite/gcc.target/s390/pr66306.c Modified: trunk/gcc/ChangeLog trunk/gcc/reload.c trunk/gcc/testsuite/ChangeLog