From bc374246e211608c4cf9732fb814620a5dfe91b1 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 20 May 2019 07:18:10 +0000 Subject: [PATCH] re PR middle-end/90518 (ICE: in emit_move_insn, at expr.c:3745 in gcc.dg/gimplefe-40.c) 2019-05-20 Richard Biener PR testsuite/90518 * gcc.dg/gimplefe-40.c: Restrict to targets with appropriate vector support. * gcc.dg/gimplefe-41.c: Likewise. From-SVN: r271396 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.dg/gimplefe-40.c | 2 +- gcc/testsuite/gcc.dg/gimplefe-41.c | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bb03a9b8442..ecb4d68e59c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-05-20 Richard Biener + + PR testsuite/90518 + * gcc.dg/gimplefe-40.c: Restrict to targets with appropriate + vector support. + * gcc.dg/gimplefe-41.c: Likewise. + 2019-05-19 Andrew Pinski PR pch/81721 diff --git a/gcc/testsuite/gcc.dg/gimplefe-40.c b/gcc/testsuite/gcc.dg/gimplefe-40.c index 3939066d1b5..dfd7f0c64d8 100644 --- a/gcc/testsuite/gcc.dg/gimplefe-40.c +++ b/gcc/testsuite/gcc.dg/gimplefe-40.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target int128 } } */ +/* { dg-do compile { target { int128 && vect_float } } } */ /* { dg-options "-fgimple -Wno-psabi -w" } */ typedef float v4sf __attribute__((vector_size(16))); diff --git a/gcc/testsuite/gcc.dg/gimplefe-41.c b/gcc/testsuite/gcc.dg/gimplefe-41.c index cd642d68fd0..c3e2f0ecef8 100644 --- a/gcc/testsuite/gcc.dg/gimplefe-41.c +++ b/gcc/testsuite/gcc.dg/gimplefe-41.c @@ -1,8 +1,8 @@ -/* { dg-do compile } */ +/* { dg-do compile { target { vect_double && vect_long_long } } } */ /* { dg-options "-fgimple -Wno-psabi -w" } */ typedef double __v2df __attribute__ ((__vector_size__ (16))); -typedef unsigned long __v2di __attribute__ ((__vector_size__ (16))); +typedef unsigned long long __v2di __attribute__ ((__vector_size__ (16))); __v2df __GIMPLE (ssa) _mm_add_sd (__v2df x, __v2df y) -- 2.30.2