public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-8737] testsuite: Fix up vector-subaccess-1.C test for ia32 [PR89224]
@ 2024-05-09  9:23 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2024-05-09  9:23 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:6f7674a558aaa0c7b16657c35666ad9b12e1c219

commit r13-8737-g6f7674a558aaa0c7b16657c35666ad9b12e1c219
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu May 9 11:18:21 2024 +0200

    testsuite: Fix up vector-subaccess-1.C test for ia32 [PR89224]
    
    The test FAILs on i686-linux due to
    .../gcc/testsuite/g++.dg/torture/vector-subaccess-1.C:16:6: warning: SSE vector argument without SSE enabled changes the ABI [-Wpsabi]
    excess warnings.
    
    This fixes it by adding -Wno-psabi, like commonly done in other tests.
    
    2024-05-09  Jakub Jelinek  <jakub@redhat.com>
    
            PR c++/89224
            * g++.dg/torture/vector-subaccess-1.C: Add -Wno-psabi as additional
            options.
    
    (cherry picked from commit 8fb65ec816ff8f0d529b6d30821abace4328c9a2)

Diff:
---
 gcc/testsuite/g++.dg/torture/vector-subaccess-1.C | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/g++.dg/torture/vector-subaccess-1.C b/gcc/testsuite/g++.dg/torture/vector-subaccess-1.C
index 0c8958a4e034..4b909dae4926 100644
--- a/gcc/testsuite/g++.dg/torture/vector-subaccess-1.C
+++ b/gcc/testsuite/g++.dg/torture/vector-subaccess-1.C
@@ -1,4 +1,5 @@
 /* PR c++/89224 */
+/* { dg-additional-options "-Wno-psabi" } */
 
 /* The access of `vector[i]` has the same qualifiers as the original
    vector which was missing. */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-09  9:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-09  9:23 [gcc r13-8737] testsuite: Fix up vector-subaccess-1.C test for ia32 [PR89224] Jakub Jelinek

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).