[committed] testsuite: libgcc function name for PRU
Commit Message
Update the match rules to accommodate the non-standard libgcc function
names for PRU backend. The C6x target also seems to be affected, and
should be fixed with this change, but there is no free simulator for me
to check.
Sanity checked that there are no new failures on x86_64-pc-linux-gnu.
gcc/testsuite/ChangeLog:
* gcc.c-torture/compile/attr-complex-method-2.c: Accept both __divdc3
and __gnu_divdc3 as valid libgcc function names.
* gcc.dg/complex-6.c: Ditto for __mulsc3.
* gcc.dg/complex-7.c: Ditto for __muldc3.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
---
gcc/testsuite/gcc.c-torture/compile/attr-complex-method-2.c | 2 +-
gcc/testsuite/gcc.dg/complex-6.c | 2 +-
gcc/testsuite/gcc.dg/complex-7.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
@@ -8,4 +8,4 @@ void do_div (_Complex double *a, _Complex double *b)
*a = *b / (4.0 - 5.0fi);
}
-/* { dg-final { scan-tree-dump "__divdc3" "optimized" } } */
+/* { dg-final { scan-tree-dump "__(?:gnu_)?divdc3" "optimized" } } */
@@ -10,4 +10,4 @@ foo (__complex float a, __complex float b)
}
/* { dg-final { scan-tree-dump-times "unord" 1 "cplxlower1" { target { ! rx*-*-* } } } } */
-/* { dg-final { scan-tree-dump-times "__mulsc3" 1 "cplxlower1" { target { ! rx*-*-* } } } } */
+/* { dg-final { scan-tree-dump-times "__(?:gnu_)?mulsc3" 1 "cplxlower1" { target { ! rx*-*-* } } } } */
@@ -11,4 +11,4 @@ foo (__complex double a, __complex double b)
}
/* { dg-final { scan-tree-dump-times "unord" 1 "cplxlower1" } } */
-/* { dg-final { scan-tree-dump-times "__muldc3" 1 "cplxlower1" } } */
+/* { dg-final { scan-tree-dump-times "__(?:gnu_)?muldc3" 1 "cplxlower1" } } */