From 769019d933306761338e1f2048a0b3657becf491 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek <jakub@redhat.com> 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 5db30163e91b..dcc0ec9eea9f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-12-30 Jakub Jelinek <jakub@redhat.com> + + PR c++/92745 + * g++.dg/cpp0x/initlist118.C: Add -Wno-psabi -w to dg-options. + 2019-12-29 Marek Polacek <polacek@redhat.com> 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 2e1b96953e34..a22676615324 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 <typename a, int b> struct c { typedef a d[b]; -- GitLab