Commit fb25041e by Iain Buclaw

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.
parent 6c557ba5
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> 2020-04-01 David Malcolm <dmalcolm@redhat.com>
PR analyzer/94378 PR analyzer/94378
......
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92216 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92216
// { dg-options "-I $srcdir/gdc.dg" } // { dg-options "-I $srcdir/gdc.dg" }
// { dg-do compile } // { dg-do compile }
// { dg-final { scan-assembler "_DT16_D7imports7pr922161B8__mixin24getSMFZPv\[: \t\n\]" } } // { dg-final { scan-assembler "_DT(4|8|16)_D7imports7pr922161B8__mixin24getSMFZPv\[: \t\n\]" } }
// { dg-final { scan-assembler-not "(.globl|.global)\[ \]+_DT16_D7imports7pr922161B8__mixin24getSMFZPv" } } // { dg-final { scan-assembler-not "(.globl|.global)\[ \]+_DT(4|8|16)_D7imports7pr922161B8__mixin24getSMFZPv" } }
module pr92216; module pr92216;
private import imports.pr92216; private import imports.pr92216;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment