On Wed, Jun 15, 2011 at 2:47 PM, Joern Rennecke <amyl...@spamcop.net> wrote: > Quoting "H.J. Lu" <hjl.to...@gmail.com>: > >> On Tue, Jun 14, 2011 at 8:27 PM, Joern Rennecke <amyl...@spamcop.net> >> wrote: >>> >>> Quoting "H.J. Lu" <hjl.to...@gmail.com>: >>> >>>> Do you have a testcase for i386? >>> >>> struct args { int i0, i1; }; >>> >>> union args_u { struct args *a; } __attribute__((transparent_union)); >>> >>> union args_u >>> f (union args_u in) >>> { >>> union args_u out; >>> >>> out.a = in.a + 1; >>> >>> return out; >>> } >>> >> >> Do you have a run-time testcase to show failure? > > No, I haven't. The assembly output should be simple enough to see > the result at a glance. Or do you need a runtime test to plug it into > a script? I suppose, abandoning conformity for the sake of the test,
Yes. I want to plug in a run-time test into my set up to find out which checkin broke it if possible. -- H.J.