[Bug target/82524] [7/8 Regression] expensive-optimizations produces wrong results
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 13 07:30:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524
--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 13 07:29:51 2017
New Revision: 253710
URL: https://gcc.gnu.org/viewcvs?rev=253710&root=gcc&view=rev
Log:
PR target/82524
* config/i386/i386.md (addqi_ext_1, andqi_ext_1,
*andqi_ext_1_cc, *<code>qi_ext_1, *xorqi_ext_1_cc): Change
=Q constraints to +Q and into insn condition add check
that operands[0] and operands[1] are equal.
(*addqi_ext_2, *andqi_ext_2, *<code>qi_ext_2): Change
=Q constraints to +Q and into insn condition add check
that operands[0] is equal to either operands[1] or operands[2].
* gcc.c-torture/execute/pr82524.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr82524.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.md
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list