aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-04-01 23:02:01 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-04-01 23:09:29 +0200
commitfb25041e11d92ea2df2e92065b256f8e5aa58a6c (patch)
tree21fbc55faa90639e2952cf4271251b3f72ea7f99 /gcc
parent6c557ba53808da4816b48e718aa553ecc5dc4c4b (diff)
downloadgcc-fb25041e11d92ea2df2e92065b256f8e5aa58a6c.zip
gcc-fb25041e11d92ea2df2e92065b256f8e5aa58a6c.tar.gz
gcc-fb25041e11d92ea2df2e92065b256f8e5aa58a6c.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gdc.dg/pr92216.d4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 4d617c7..bcaf2e7 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 330604c..6a87025 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;