On Wed, May 06, 2020 at 02:14:03PM -0400, Nathan Sidwell wrote: > @@ -0,0 +1,7 @@ > +// { dg-do compile { target { i?86-*-* x86_64-*-* } } } > +// { dg-options -m32 } > +// PR 94946 > +class a { > + template <typename b> a(b (*)()); > + template <typename b> a(b(__attribute__((fastcall)) *c)()); > +};
I think instead of dg-options -m32 we are supposed to use: // { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }