re PR target/70442 (gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in...
authorIlya Enkovich <enkovich.gnu@gmail.com>
Thu, 31 Mar 2016 15:37:12 +0000 (15:37 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Thu, 31 Mar 2016 15:37:12 +0000 (15:37 +0000)
commitb660f9ec7e8b9dbdc1bbeafc62889e596458791a
treee7b1c1abfec3cbf8fe3ada56c37626ae56345edf
parent88504f3435845976b92ee7e9d358f8e687502772
re PR target/70442 (gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "extract_insn")

gcc/

PR target/70442
* config/i386/i386.c (scalar_chain::convert_op): Fix
description.
(scalar_chain::convert_insn): Call convert_op for reg
moves to handle undefined registers.

gcc/testsuite/

PR target/70442
* gcc.dg/pr70442.c: New test.

From-SVN: r234637
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr70442.c [new file with mode: 0644]