From 769019d933306761338e1f2048a0b3657becf491 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 30 Dec 2019 00:47:55 +0100 Subject: [PATCH] re PR c++/92745 (Initializing array with vec4 results in compile error) PR c++/92745 * g++.dg/cpp0x/initlist118.C: Add -Wno-psabi -w to dg-options. From-SVN: r279758 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cpp0x/initlist118.C | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5db30163e91..dcc0ec9eea9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-12-30 Jakub Jelinek + + PR c++/92745 + * g++.dg/cpp0x/initlist118.C: Add -Wno-psabi -w to dg-options. + 2019-12-29 Marek Polacek PR c++/88337 - Implement P1327R1: Allow dynamic_cast in constexpr. diff --git a/gcc/testsuite/g++.dg/cpp0x/initlist118.C b/gcc/testsuite/g++.dg/cpp0x/initlist118.C index 2e1b96953e3..a2267661532 100644 --- a/gcc/testsuite/g++.dg/cpp0x/initlist118.C +++ b/gcc/testsuite/g++.dg/cpp0x/initlist118.C @@ -1,5 +1,6 @@ // PR c++/92745 - bogus error when initializing array of vectors. // { dg-do compile { target c++11 } } +// { dg-options "-Wno-psabi -w" } template struct c { typedef a d[b]; -- 2.30.2