public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2223] testsuite/101269: fix testcase when used with -m32
@ 2021-07-09 16:12 Indu Bhagat
  0 siblings, 0 replies; only message in thread
From: Indu Bhagat @ 2021-07-09 16:12 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:37e65643d3e32d33bb6c9d15c678a627d1682626

commit r12-2223-g37e65643d3e32d33bb6c9d15c678a627d1682626
Author: Indu Bhagat <indu.bhagat@oracle.com>
Date:   Fri Jul 9 09:03:08 2021 -0700

    testsuite/101269: fix testcase when used with -m32
    
    PR testsuite/101269 - new test case gcc.dg/debug/btf/btf-datasec-1.c
    fails with its introduction in r12-1852
    
    BTF datasec records for .rodata/.data are expected for now for all targets.
    For powerpc based targets, use -msdata=none when ilp32 is enabled.
    
    2021-07-09  Indu Bhagat  <indu.bhagat@oracle.com>
    
    gcc/testsuite/ChangeLog:
    
            PR testsuite/101269
            * gcc.dg/debug/btf/btf-datasec-1.c: Force -msdata=none with ilp32 for
            powerpc based targets.

Diff:
---
 gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c b/gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c
index 88ae4c4edfd..f809d9347cf 100644
--- a/gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c
+++ b/gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c
@@ -11,6 +11,7 @@
 
 /* { dg-do compile )  */
 /* { dg-options "-O0 -gbtf -dA" } */
+/* { dg-options "-O0 -gbtf -dA -msdata=none" { target { { powerpc*-*-* } && ilp32 } } } */
 
 /* Check for two DATASEC entries with vlen 3, and one with vlen 1.  */
 /* { dg-final { scan-assembler-times "0xf000003\[\t \]+\[^\n\]*btt_info" 2 } } */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-09 16:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09 16:12 [gcc r12-2223] testsuite/101269: fix testcase when used with -m32 Indu Bhagat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).