https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78547
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Dec 2 08:44:42 2016 New Revision: 243165 URL: https://gcc.gnu.org/viewcvs?rev=243165&root=gcc&view=rev Log: 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. Added: trunk/gcc/testsuite/gcc.dg/pr78547.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/emit-rtl.c trunk/gcc/testsuite/ChangeLog