public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-7719] testsuite: Fix up strlenopt-80.c on powerpc [PR99636]
@ 2021-03-18 15:19 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2021-03-18 15:19 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:89d44a9f3b9ab97634b7ef894e2c83ebd83582a8

commit r11-7719-g89d44a9f3b9ab97634b7ef894e2c83ebd83582a8
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu Mar 18 16:14:47 2021 +0100

    testsuite: Fix up strlenopt-80.c on powerpc [PR99636]
    
    Similar issue as in strlenopt-73.c, various spots in this test rely
    on MOVE_MAX >= 8, this time it uses a target selector to pick up a couple
    of targets, and all of them but powerpc 32-bit satisfy it, but powerpc
    32-bit have MOVE_MAX just 4.
    
    2021-03-18  Jakub Jelinek  <jakub@redhat.com>
    
            PR testsuite/99636
            * gcc.dg/strlenopt-80.c: For powerpc*-*-*, only enable for lp64.

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

diff --git a/gcc/testsuite/gcc.dg/strlenopt-80.c b/gcc/testsuite/gcc.dg/strlenopt-80.c
index 9124fe4740a..a853402b5ce 100644
--- a/gcc/testsuite/gcc.dg/strlenopt-80.c
+++ b/gcc/testsuite/gcc.dg/strlenopt-80.c
@@ -3,7 +3,7 @@
    The optimization is only implemented for MEM_REF stores and other
    targets than those below may not transform the memcpy call into
    such a store.
-   { dg-do compile { target aarch64*-*-* i?86-*-* powerpc*-*-* x86_64-*-* } }
+   { dg-do compile { target { { aarch64*-*-* i?86-*-* x86_64-*-* } || { { powerpc*-*-* } && lp64 } } } }
 
    { dg-options "-O2 -Wall -fdump-tree-optimized" } */


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

only message in thread, other threads:[~2021-03-18 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 15:19 [gcc r11-7719] testsuite: Fix up strlenopt-80.c on powerpc [PR99636] 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).