Hi Richard! On Mon, 7 Nov 2016 13:19:21 +0100 (CET), Richard Biener <rguent...@suse.de> wrote: > PR tree-optimization/78218
> --- gcc/testsuite/gcc.dg/torture/pr78218.c (revision 0) > +++ gcc/testsuite/gcc.dg/torture/pr78218.c (working copy) > @@ -0,0 +1,24 @@ > +/* { dg-do run } */ > + > +struct > +{ > + int v; > +} a[2]; > + > +int b; > + > +void __attribute__((noinline,noclone)) > +check () Is it itentional that here, check doesn't specify any formal parameters, but... > +{ > + if (a[0].v != 1) > + __builtin_abort (); > +} > + > +int main () > +{ > + a[1].v = 1; > + a[0] = a[1]; > + a[1].v = 0; > + check (a); ... here it is called, passing in "a"? (PTX doesn't like such mismatches.) > + return 0; > +} OK to commit the obvious patch to change the call site? (Not yet tested.) - check (a); + check (); Grüße Thomas