re PR rtl-optimization/78575 (ICE: in trunc_int_for_mode, at explow.c:55 with -O2 -g)
authorJakub Jelinek <jakub@redhat.com>
Fri, 2 Dec 2016 08:42:12 +0000 (09:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 2 Dec 2016 08:42:12 +0000 (09:42 +0100)
commita717444986a981b21b42fccfd982dcb6ebe42254
tree198908b96946dcb076f4ae6a0b761c7dad4e4601
parenta4f2895465da4c8856b119a5787b95db345567a9
re PR rtl-optimization/78575 (ICE: in trunc_int_for_mode, at explow.c:55 with -O2 -g)

PR rtl-optimization/78575
* config/i386/i386.c (timode_scalar_chain::fix_debug_reg_uses): Use
DF infrastructure to wrap all V1TImode reg uses into TImode subreg
if not already wrapped in a subreg.  Make sure df_insn_rescan does not
affect further iterations.

* gcc.dg/pr78575.c: New test.

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