* [PATCH] S/390: Fix expectation in mrecord-mcount test for 31-bit mode
@ 2018-11-14 12:56 Ilya Leoshkevich
2018-11-14 13:06 ` Andreas Krebbel
0 siblings, 1 reply; 2+ messages in thread
From: Ilya Leoshkevich @ 2018-11-14 12:56 UTC (permalink / raw)
To: gcc-patches; +Cc: krebbel, rdapp, Ilya Leoshkevich
The emitted address is .long, not .quad, in that case.
gcc/testsuite/ChangeLog:
2018-11-14 Ilya Leoshkevich <iii@linux.ibm.com>
* gcc.target/s390/mrecord-mcount.c (profileme): Expect .long in
31-bit mode.
---
gcc/testsuite/gcc.target/s390/mrecord-mcount.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/s390/mrecord-mcount.c b/gcc/testsuite/gcc.target/s390/mrecord-mcount.c
index d8a23ffdca4..54ced9f7a11 100644
--- a/gcc/testsuite/gcc.target/s390/mrecord-mcount.c
+++ b/gcc/testsuite/gcc.target/s390/mrecord-mcount.c
@@ -5,6 +5,7 @@ void
profileme (void)
{
/* { dg-final { scan-assembler ".section __mcount_loc, \"a\",@progbits" } } */
- /* { dg-final { scan-assembler ".quad 1b" } } */
+ /* { dg-final { scan-assembler ".long 1b" { target { ! lp64 } } } } */
+ /* { dg-final { scan-assembler ".quad 1b" { target { lp64 } } } } */
/* { dg-final { scan-assembler ".previous" } } */
}
--
2.19.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] S/390: Fix expectation in mrecord-mcount test for 31-bit mode
2018-11-14 12:56 [PATCH] S/390: Fix expectation in mrecord-mcount test for 31-bit mode Ilya Leoshkevich
@ 2018-11-14 13:06 ` Andreas Krebbel
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Krebbel @ 2018-11-14 13:06 UTC (permalink / raw)
To: Ilya Leoshkevich, gcc-patches; +Cc: rdapp
On 14.11.18 13:55, Ilya Leoshkevich wrote:
> The emitted address is .long, not .quad, in that case.
>
> gcc/testsuite/ChangeLog:
>
> 2018-11-14 Ilya Leoshkevich <iii@linux.ibm.com>
>
> * gcc.target/s390/mrecord-mcount.c (profileme): Expect .long in
> 31-bit mode.
Ok. Thanks!
Andreas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-14 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-14 12:56 [PATCH] S/390: Fix expectation in mrecord-mcount test for 31-bit mode Ilya Leoshkevich
2018-11-14 13:06 ` Andreas Krebbel
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).