From 5cfefb592a4f0c63d683569015c44ad52a82542d Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 27 Feb 2016 14:31:39 +0100 Subject: [PATCH] re PR target/69613 (wrong code with -O and simple 128bit arithmetics and vectors @ aarch64) PR target/69613 PR rtl-optimization/69886 * gcc.dg/torture/pr69886.c: Add -w -Wno-psabi to dg-options. * gcc.dg/torture/pr69613.c: Likewise. Guard -mavx with avx_runtime target. From-SVN: r233781 --- gcc/testsuite/ChangeLog | 8 ++++++++ gcc/testsuite/gcc.dg/torture/pr69613.c | 3 ++- gcc/testsuite/gcc.dg/torture/pr69886.c | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f5d49d07d70..ab6c1dbe64f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2016-02-27 Jakub Jelinek + + PR target/69613 + PR rtl-optimization/69886 + * gcc.dg/torture/pr69886.c: Add -w -Wno-psabi to dg-options. + * gcc.dg/torture/pr69613.c: Likewise. Guard -mavx with avx_runtime + target. + 2016-02-26 Martin Sebor PR tree-optimization/15826 diff --git a/gcc/testsuite/gcc.dg/torture/pr69613.c b/gcc/testsuite/gcc.dg/torture/pr69613.c index 44f2b0cc91a..d903c85811e 100644 --- a/gcc/testsuite/gcc.dg/torture/pr69613.c +++ b/gcc/testsuite/gcc.dg/torture/pr69613.c @@ -1,6 +1,7 @@ /* PR target/69613. */ /* { dg-do run { target int128 } } */ -/* { dg-additional-options "-mavx" { target { i?86-*-* x86_64-*-* } } } */ +/* { dg-options "-w -Wno-psabi" } */ +/* { dg-additional-options "-mavx" { target avx_runtime } } */ typedef unsigned short u16; typedef unsigned short v32u16 __attribute__ ((vector_size (32))); diff --git a/gcc/testsuite/gcc.dg/torture/pr69886.c b/gcc/testsuite/gcc.dg/torture/pr69886.c index d896d4fec9b..cc88a952483 100644 --- a/gcc/testsuite/gcc.dg/torture/pr69886.c +++ b/gcc/testsuite/gcc.dg/torture/pr69886.c @@ -1,6 +1,6 @@ /* PR rtl-optimization/69886. */ /* { dg-do compile } */ -/* { dg-options "--param=gcse-unrestricted-cost=0" } */ +/* { dg-options "--param=gcse-unrestricted-cost=0 -w -Wno-psabi" } */ /* { dg-additional-options "-mavx" { target { i?86-*-* x86_64-*-* } } } */ typedef unsigned v32su __attribute__ ((vector_size (32))); -- 2.30.2