[gcc(refs/users/aoliva/heads/testme)] add explicit ABI and align options to pr88233.c

Alexandre Oliva aoliva@gcc.gnu.org
Thu Mar 11 10:21:47 GMT 2021


https://gcc.gnu.org/g:134d86d57c13e19280d8648970a3d06a54078efa

commit 134d86d57c13e19280d8648970a3d06a54078efa
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Tue Mar 9 18:43:04 2021 -0300

    add explicit ABI and align options to pr88233.c
    
    We've observed failures of this test on powerpc configurations that
    default to different calling conventions and alignment requirements.
    Both settings are needed for the expectations to be met.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/pr88233.c: Make some alignment strictness
            and calling conventions assumptions explicit.

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

diff --git a/gcc/testsuite/gcc.target/powerpc/pr88233.c b/gcc/testsuite/gcc.target/powerpc/pr88233.c
index 27c73717a3f..c667a28ebfe 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr88233.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr88233.c
@@ -1,5 +1,5 @@
 /* { dg-require-effective-target lp64 } */
-/* { dg-options "-O2 -mdejagnu-cpu=power8" } */
+/* { dg-options "-O2 -mdejagnu-cpu=power8 -mno-strict-align -fno-reg-struct-return" } */
 
 typedef struct { double a[2]; } A;
 A


More information about the Gcc-cvs mailing list