[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
This commit is contained in:
Ilya Leoshkevich 2018-11-14 13:08:03 +00:00 committed by Ilya Leoshkevich
parent 867a1e2818
commit 487a4df632
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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" } } */
}