https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90756
--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Aug 30 12:48:18 2019 New Revision: 275162 URL: https://gcc.gnu.org/viewcvs?rev=275162&root=gcc&view=rev Log: Backported from mainline 2019-07-04 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/90756 * explow.c (promote_ssa_mode): Always use TYPE_MODE, don't bypass it for VECTOR_TYPE_P. * gcc.dg/pr90756.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr90756.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/explow.c branches/gcc-7-branch/gcc/testsuite/ChangeLog