From: Iain Buclaw Date: Wed, 1 Apr 2020 21:02:01 +0000 (+0200) Subject: d: Fix gdc.dg/pr92216.d FAILs on 32-bit targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb25041e11d92ea2df2e92065b256f8e5aa58a6c;p=gcc.git 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 --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 + + PR d/94321 + * gdc.dg/pr92216.d: Update to work on targets with 16 or 32-bit + pointers. + 2020-04-01 David Malcolm 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;