aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.target/powerpc/gcse-1.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 654863e..e7ac462 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+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
diff --git a/gcc/testsuite/gcc.target/powerpc/gcse-1.c b/gcc/testsuite/gcc.target/powerpc/gcse-1.c
index 799cde1..b9cd055 100644
--- a/gcc/testsuite/gcc.target/powerpc/gcse-1.c
+++ b/gcc/testsuite/gcc.target/powerpc/gcse-1.c
@@ -1,6 +1,6 @@
/* { 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