]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Darwin, PPC, testsuite] Fix builtins-1 testcase for Darwin.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Jun 2019 19:48:55 +0000 (19:48 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Jun 2019 19:48:55 +0000 (19:48 +0000)
This needs to account for Darwin's __USER_LABEL_PREFIX__.

2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.target/powerpc/builtins-1.c: Account for Darwin's use of
__USER_LABEL_PREFIX__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272604 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/builtins-1.c

index 5cdf35d5bf7efc5a0e9754669c7bf471a301388c..7074bf83b1b072468a5a21756bad20821d8cc046 100644 (file)
@@ -1,3 +1,8 @@
+2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.target/powerpc/builtins-1.c: Account for Darwin's use of
+       __USER_LABEL_PREFIX__.
+
 2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>
 
        * gcc.target/powerpc/pr71785.c: For Darwin, make test non-PIC,
index 8263e28b803f7a79dd0bc29916fc4b614006247c..73f8fb54cffff04ae70f3fcd86534fdd921fd506 100644 (file)
@@ -330,10 +330,10 @@ int main ()
 /* { dg-final { scan-assembler-times "divd" 8  { target lp64 } } } */
 /* { dg-final { scan-assembler-times "divdu" 2  { target lp64 } } } */
 /* { dg-final { scan-assembler-times "mulld" 4  { target lp64 } } } */
-/* check for both .__divdi3 (AIX) and __divdi3 (Linux) */
-/* { dg-final { scan-assembler-times {\mbl \.?__divdi3\M} 2   { target { ilp32 } } } } */
-/* check for both .__udivdi3 (AIX) and __udivdi3 (Linux) */
-/* { dg-final { scan-assembler-times {\mbl \.?__udivdi3\M} 2  { target { ilp32 } } } } */
+/* check for .__divdi3 (AIX), __divdi3 (Linux) and ___divdi3 (Darwin) */
+/* { dg-final { scan-assembler-times {\mbl \.?_?__divdi3\M} 2   { target { ilp32 } } } } */
+/* check for both .__udivdi3 (AIX), __udivdi3 (Linux) and ___udivdi3 (Darwin) */
+/* { dg-final { scan-assembler-times {\mbl \.?_?__udivdi3\M} 2  { target { ilp32 } } } } */
 /* { dg-final { scan-assembler-times "mullw" 12  { target ilp32 } } } */
 /* { dg-final { scan-assembler-times "mulhwu" 4  { target ilp32 } } } */
 /* { dg-final { scan-assembler-times "xxmrgld" 0 } } */