public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-7247] testsuite: Fix up ext-floating15.C tests on powerpc64-linux [PR109278] Date: Wed, 26 Apr 2023 08:37:47 +0000 (GMT) [thread overview] Message-ID: <20230426083747.4DF173858416@sourceware.org> (raw) https://gcc.gnu.org/g:4aeefba6cd657010a395dd187f9136cd152aac95 commit r13-7247-g4aeefba6cd657010a395dd187f9136cd152aac95 Author: Jakub Jelinek <jakub@redhat.com> Date: Tue Apr 25 14:38:01 2023 +0200 testsuite: Fix up ext-floating15.C tests on powerpc64-linux [PR109278] I've noticed this test FAILs on powerpc64-linux, with FAIL: g++.dg/cpp23/ext-floating15.C -std=gnu++98 (test for excess errors) Excess errors: /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:5: error: '_Float128' is not supported on this target /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:5: error: '_Float128' is not supported on this target /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:1: error: variable or field 'bar' declared void /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:5: error: '_Float128' is not supported on this target /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:6: error: expected primary-expression before '_Float128' and similarly other std versions. powerpc64-linux is float128 target, but needs to add some options for it. Fixed by adding them. 2023-04-25 Jakub Jelinek <jakub@redhat.com> PR c++/109278 * g++.dg/cpp23/ext-floating15.C: Add dg-add-options float128. (cherry picked from commit 784e03f378bb2c330b96459928d0472d38748970) Diff: --- gcc/testsuite/g++.dg/cpp23/ext-floating15.C | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/g++.dg/cpp23/ext-floating15.C b/gcc/testsuite/g++.dg/cpp23/ext-floating15.C index 316dd5abacd..6d7dc6ad682 100644 --- a/gcc/testsuite/g++.dg/cpp23/ext-floating15.C +++ b/gcc/testsuite/g++.dg/cpp23/ext-floating15.C @@ -1,6 +1,7 @@ // PR c++/109278 // { dg-do compile { target float128 } } // { dg-options "-w" } +// { dg-add-options float128 } void foo (long double); // { dg-bogus "initializing argument 1 of" }
reply other threads:[~2023-04-26 8:37 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230426083747.4DF173858416@sourceware.org \ --to=jakub@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).