> I fixed this with the below patch. Tested on x86_64 linux, x86_64 darwin and
> my port. If you want to
> list aarch64/arn and mips, please do.
>
> * g++.dg/init/vbase1.C: Only run on x86_64-*-* as this testcase
> isn't portable.
I have added i?86-*-* to the list.
2015-11-21 Uros Bizjak <[email protected]>
* g++.dg/init/vbase1.C: Also run on i?86-*-*.
Tested on x86_64-linux-gnu {,-m32} and committed to mainline SVN.
Uros.
Index: g++.dg/init/vbase1.C
===================================================================
--- g++.dg/init/vbase1.C (revision 230701)
+++ g++.dg/init/vbase1.C (working copy)
@@ -42,4 +42,4 @@
// Verify that the SubB() mem-initializer is storing 0 directly into
// this->D.whatever rather than into a stack temp that is then copied into the
// base field.
-// { dg-final { scan-rtl-dump "set
\[^\n\]*\n\[^\n\]*this\[^\n\]*\n\[^\n\]*const_int 0" "expand" { target {
x86_64-*-* } } } }
+// { dg-final { scan-rtl-dump "set
\[^\n\]*\n\[^\n\]*this\[^\n\]*\n\[^\n\]*const_int 0" "expand" { target {
i?86-*-* x86_64-*-* } } } }