]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
re PR tree-optimization/77309 (wrong code at -Os and above on x86_64-linux-gnu (in...
authorBernd Schmidt <bernds@redhat.com>
Mon, 7 Nov 2016 16:59:11 +0000 (16:59 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Mon, 7 Nov 2016 16:59:11 +0000 (16:59 +0000)
commitcaa024ffce186dc6ce7ee8217d5d50d7f9a091e0
tree72ba9cd88f9d252504f2834bfe31a6b5057882f5
parentb4ff394c548414d6594170573c1cea89b91968e1
re PR tree-optimization/77309 (wrong code at -Os and above on x86_64-linux-gnu (in the 64-bit mode))

PR rtl-optimization/77309
* combine.c (make_compound_operation): Allow EQ for IN_CODE, and
don't assume an equality comparison for plain COMPARE.
(simplify_comparison): Pass a more accurate code to
make_compound_operation.

testsuite/
PR rtl-optimization/77309
* gcc.dg/torture/pr77309.c: New test.

From-SVN: r241912
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr77309.c [new file with mode: 0644]