public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6905] testsuite: Fix up pr98807.c on i686-linux [PR98807]
@ 2021-01-26  8:34 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2021-01-26  8:34 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:eb77a934eec8fe52e4c5612f5264127290bc517d

commit r11-6905-geb77a934eec8fe52e4c5612f5264127290bc517d
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Jan 26 09:33:04 2021 +0100

    testsuite: Fix up pr98807.c on i686-linux [PR98807]
    
    The new testcase FAILs on i686-linux with:
    gcc/testsuite/gcc.dg/pr98807.c: In function 'foo0':
    gcc/testsuite/gcc.dg/pr98807.c:20:1: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
    gcc/testsuite/gcc.dg/pr98807.c:19:1: note: the ABI for passing parameters with 16-byte alignment has changed in GCC 4.6
    gcc/testsuite/gcc.dg/pr98807.c:19:1: warning: SSE vector argument without SSE enabled changes the ABI [-Wpsabi]
    FAIL: gcc.dg/pr98807.c (test for excess errors)
    
    Adding usual testcase treatment for such cases.
    
    2021-01-26  Jakub Jelinek  <jakub@redhat.com>
    
            PR middle-end/98807
            * gcc.dg/pr98807.c: Add -Wno-psabi -w to dg-options.

Diff:
---
 gcc/testsuite/gcc.dg/pr98807.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr98807.c b/gcc/testsuite/gcc.dg/pr98807.c
index eb8a8d1c23d..d4eac5aeb69 100644
--- a/gcc/testsuite/gcc.dg/pr98807.c
+++ b/gcc/testsuite/gcc.dg/pr98807.c
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target stdint_types } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -Wno-psabi -w" } */
 /* { dg-additional-options "-mno-sse2" { target x86_64-*-* i?86-*-* } } */
 
 #include <stdint.h>


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

only message in thread, other threads:[~2021-01-26  8:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-26  8:34 [gcc r11-6905] testsuite: Fix up pr98807.c on i686-linux [PR98807] 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).