[gcc/devel/c++-coroutines] rs6000: Fix vector_float.c testcase for -m32

Iain D Sandoe iains@gcc.gnu.org
Tue Aug 4 18:30:53 GMT 2020


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

commit c004b383aa4172e8f0b6e0ea8b0a4c42fee98d29
Author: Segher Boessenkool <segher@kernel.crashing.org>
Date:   Mon Aug 3 22:15:01 2020 +0000

    rs6000: Fix vector_float.c testcase for -m32
    
    It should be skipped then.
    
    2020-08-03  Segher Boessenkool  <segher@kernel.crashing.org>
    
    gcc/testsuite/
            * gcc.target/powerpc/vector_float.c: Skip if not lp64.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/vector_float.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.target/powerpc/vector_float.c b/gcc/testsuite/gcc.target/powerpc/vector_float.c
index e6946da2b93..4ac2d9fa2ac 100644
--- a/gcc/testsuite/gcc.target/powerpc/vector_float.c
+++ b/gcc/testsuite/gcc.target/powerpc/vector_float.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-O2 -mdejagnu-cpu=power9" } */
 
 vector float


More information about the Gcc-cvs mailing list