[gcc(refs/users/aoliva/heads/testme)] Compile prefix-ds-dq.c with -mno-strict-align

Alexandre Oliva aoliva@gcc.gnu.org
Wed Apr 27 21:29:58 GMT 2022


https://gcc.gnu.org/g:751bc2f68a604ca467adf32626422841cb582eb8

commit 751bc2f68a604ca467adf32626422841cb582eb8
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Wed Apr 27 18:23:06 2022 -0300

    Compile prefix-ds-dq.c with -mno-strict-align
    
    In order for the expected asm to be generated, I found the need for
    -mno-strict-align, on toolchains that enable -mstrict-align by
    default.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/prefix-ds-dq.c: Disable -mstrict-align.

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

diff --git a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
index 554cd0c1bea..b2940fae6f4 100644
--- a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
+++ b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc_prefixed_addr } */
 /* { dg-require-effective-target lp64 } */
-/* { dg-options "-O2 -mdejagnu-cpu=power10" } */
+/* { dg-options "-O2 -mdejagnu-cpu=power10 -mno-strict-align" } */
 
 /* Tests whether we generate a prefixed load/store operation for addresses that
    don't meet DS/DQ offset constraints.  64-bit is needed for testing the use


More information about the Gcc-cvs mailing list