]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/78547 (ICE: in loc_cmp, at var-tracking.c:3417 with -Os -g...
authorJakub Jelinek <jakub@redhat.com>
Fri, 2 Dec 2016 08:44:42 +0000 (09:44 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 2 Dec 2016 08:44:42 +0000 (09:44 +0100)
commit60ebe8ce1d029cbff8ef80c967f98ba43d746f3b
treed0c90b780983a3a4c1d8282028a2bf718f76ca35
parenta717444986a981b21b42fccfd982dcb6ebe42254
re PR rtl-optimization/78547 (ICE: in loc_cmp, at var-tracking.c:3417 with -Os -g -mstringop-strategy=libcall -freorder-blocks-algorithm=simple)

PR rtl-optimization/78547
* emit-rtl.c (unshare_all_rtl): Make sure DECL_RTL and
DECL_INCOMING_RTL is not shared.
* config/i386/i386.c (convert_scalars_to_vectors): If any
insns have been converted, adjust all parameter's DEC_RTL and
DECL_INCOMING_RTL back from V1TImode to TImode if the parameters have
TImode.

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

From-SVN: r243165
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/emit-rtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr78547.c [new file with mode: 0644]