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

Alexandre Oliva aoliva@gcc.gnu.org
Thu Mar 23 03:47:17 GMT 2023


https://gcc.gnu.org/g:72603995928ee239818b5db88550cfdaa49fdeed

commit 72603995928ee239818b5db88550cfdaa49fdeed
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Mar 23 00:44:26 2023 -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