re PR rtl-optimization/87918 (ICE in simplify_binary_operation, at simplify-rtx.c...
authorJakub Jelinek <jakub@redhat.com>
Tue, 13 Nov 2018 09:45:50 +0000 (10:45 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 13 Nov 2018 09:45:50 +0000 (10:45 +0100)
commit6bddea17a0464f674bf71d019af4c50c44ed6ed6
tree296ffe78d4a9f93adf2af4b393f4f56ee39e92c2
parent9384a5afd6eac11ce7419869bbd2663fefdf918c
re PR rtl-optimization/87918 (ICE in simplify_binary_operation, at simplify-rtx.c:2153 since r264688)

PR rtl-optimization/87918
* simplify-rtx.c (simplify_merge_mask): For COMPARISON_P, use
simplify_gen_relational rather than simplify_gen_binary.

* gcc.target/i386/pr87918.c: New test.

From-SVN: r266062
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr87918.c [new file with mode: 0644]