[gcc(refs/vendors/ARM/heads/arm-struct-reorg-wip)] d: Fix gdc.dg/pr92216.d FAILs on 32-bit targets
Tamar Christina
tnfchris@gcc.gnu.org
Fri Jul 17 14:06:31 GMT 2020
https://gcc.gnu.org/g:fb25041e11d92ea2df2e92065b256f8e5aa58a6c
commit fb25041e11d92ea2df2e92065b256f8e5aa58a6c
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date: Wed Apr 1 23:02:01 2020 +0200
d: Fix gdc.dg/pr92216.d FAILs on 32-bit targets
The symbol being scanned for only matched on 64-bit targets.
gcc/testsuite/ChangeLog:
PR d/94321
* gdc.dg/pr92216.d: Update to work on targets with 16 or 32-bit
pointers.
Diff:
---
gcc/testsuite/ChangeLog | 6 ++++++
gcc/testsuite/gdc.dg/pr92216.d | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 4d617c72c1b..bcaf2e727a3 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2020-04-01 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ PR d/94321
+ * gdc.dg/pr92216.d: Update to work on targets with 16 or 32-bit
+ pointers.
+
2020-04-01 David Malcolm <dmalcolm@redhat.com>
PR analyzer/94378
diff --git a/gcc/testsuite/gdc.dg/pr92216.d b/gcc/testsuite/gdc.dg/pr92216.d
index 330604c9c89..6a87025a7d0 100644
--- a/gcc/testsuite/gdc.dg/pr92216.d
+++ b/gcc/testsuite/gdc.dg/pr92216.d
@@ -1,8 +1,8 @@
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92216
// { dg-options "-I $srcdir/gdc.dg" }
// { dg-do compile }
-// { dg-final { scan-assembler "_DT16_D7imports7pr922161B8__mixin24getSMFZPv\[: \t\n\]" } }
-// { dg-final { scan-assembler-not "(.globl|.global)\[ \]+_DT16_D7imports7pr922161B8__mixin24getSMFZPv" } }
+// { dg-final { scan-assembler "_DT(4|8|16)_D7imports7pr922161B8__mixin24getSMFZPv\[: \t\n\]" } }
+// { dg-final { scan-assembler-not "(.globl|.global)\[ \]+_DT(4|8|16)_D7imports7pr922161B8__mixin24getSMFZPv" } }
module pr92216;
private import imports.pr92216;
More information about the Gcc-cvs
mailing list