Commit 19846619 by Segher Boessenkool Committed by Segher Boessenkool

rs6000: Fix gcc.target/powerpc/gcse-1.c for PIC (PR43496)

With PIC a @ha relocation isn't generated, so skip that test then.


	PR testsuite/43496
	* gcc.target/powerpc/gcse-1.c: Skip scan-assembler-times "@ha" if
	generating PIC code.

From-SVN: r246555
parent e5119fab
2017-03-28 Segher Boessenkool <segher@kernel.crashing.org>
PR testsuite/43496
* gcc.target/powerpc/gcse-1.c: Skip scan-assembler-times "@ha" if
generating PIC code.
2017-03-28 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/80193
......
/* { dg-do compile { target { *-*-linux* && ilp32 } } } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler-times "@ha" 1 } } */
/* { dg-final { scan-assembler-times "@ha" 1 { target { ! fpic } } } } */
/* Test for PR 7003, address of array loaded int register
......
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