public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix PR testsuite/101269
@ 2021-06-30 20:33 Indu Bhagat
  2021-07-08 23:38 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Indu Bhagat @ 2021-06-30 20:33 UTC (permalink / raw)
  To: gcc-patches

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-06-30  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.
---
 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 88ae4c4..f809d93 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 } } */
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix PR testsuite/101269
  2021-06-30 20:33 [PATCH] Fix PR testsuite/101269 Indu Bhagat
@ 2021-07-08 23:38 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2021-07-08 23:38 UTC (permalink / raw)
  To: Indu Bhagat, gcc-patches



On 6/30/2021 2:33 PM, Indu Bhagat via Gcc-patches wrote:
> 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-06-30  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.
OK
jeff


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-08 23:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30 20:33 [PATCH] Fix PR testsuite/101269 Indu Bhagat
2021-07-08 23:38 ` Jeff Law

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).