From: Alan Modra Date: Sat, 24 Oct 2020 05:47:39 +0000 (+1030) Subject: [RS6000] Unsupported test options for -m32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e6e941db7ced1fb967beed5f15b69b4d56bce61;p=gcc.git [RS6000] Unsupported test options for -m32 FAIL: gcc.target/powerpc/swaps-p8-22.c (test for excess errors) Excess errors: cc1: error: '-mcmodel' not supported in this configuration * gcc.target/powerpc/swaps-p8-22.c: Enable only for aix and -m64 linux. --- diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-22.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-22.c index 83f6ab3a1c0..847aebccca8 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-22.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-22.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target { *-*-aix* || { *-*-linux* && lp64 } } } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-O2 -mdejagnu-cpu=power8 -maltivec -mcmodel=large" } */