Commit 487a4df6 by Ilya Leoshkevich Committed by Ilya Leoshkevich

[PATCH 2/2] S/390: Fix expectation in mrecord-mcount test for 31-bit

 mode

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.

From-SVN: r266145
parent 867a1e28
2018-11-14 Ilya Leoshkevich <iii@linux.ibm.com>
* gcc.target/s390/mrecord-mcount.c (profileme): Expect .long in
31-bit mode.
2018-11-14 Ilya Leoshkevich <iii@linux.ibm.com>
* gcc.target/s390/global-array-almost-huge-element.c: Run only
in 64-bit mode.
* gcc.target/s390/global-array-almost-negative-huge-element.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" } } */
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment