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
+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