re PR target/79559 (ICE in ix86_print_operand, at config/i386/i386.c:18189)
authorJakub Jelinek <jakub@redhat.com>
Sat, 18 Feb 2017 13:13:43 +0000 (14:13 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 18 Feb 2017 13:13:43 +0000 (14:13 +0100)
commitc26159516d6a16def440628643d8c1b7c43169c3
tree563f1063c7dd530b04363f81d35d56101e643e7c
parentdc15bc7ad6f46550b5df09d9a85f6180a76ae8ce
re PR target/79559 (ICE in ix86_print_operand, at config/i386/i386.c:18189)

PR target/79559
* config/i386/i386.c (ix86_print_operand): Use output_operand_lossage
instead of gcc_assert for K, r and R code checks.  Formatting fixes.

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

From-SVN: r245560
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr79559.c [new file with mode: 0644]