https://gcc.gnu.org/g:8fb65ec816ff8f0d529b6d30821abace4328c9a2

commit r15-340-g8fb65ec816ff8f0d529b6d30821abace4328c9a2
Author: Jakub Jelinek <ja...@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  <ja...@redhat.com>
    
            PR c++/89224
            * g++.dg/torture/vector-subaccess-1.C: Add -Wno-psabi as additional
            options.

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. */

Reply via email to