Re: [patch 6/6] scalar-storage-order merge: testsuite

2015-10-12 Thread Jeff Law
On 10/06/2015 05:07 AM, Eric Botcazou wrote: This is the testsuite part. testsuite/ * c-c++-common/sso-1.c: New test. * c-c++-common/sso-2.c: Likewise. * c-c++-common/sso-3.c: Likewise. * c-c++-common/sso-4.c: Likewise. * c-c++-common/sso-5.c: Likewise.

Re: [patch 6/6] scalar-storage-order merge: testsuite

2015-06-19 Thread Eric Botcazou
> > Can I modify an existing struct to create an opposite endian variant? > > Eg. > > > > struct bar > > { > > > > int a; > > > > }; > > > > struct wibble > > { > > > > struct __attr_sso__ bar a; > > > > }; > > The compiler accepts it, but apparently discards the attribute silently,

Re: [patch 6/6] scalar-storage-order merge: testsuite

2015-06-18 Thread Eric Botcazou
> It appears that all the C tests check the specific syntactic form > 'struct __attr_sso__ foo {...};' > > What is the impact of changing the location of __attr_sso__? Eg: > > struct foo {...} __attr_sso__; None. What impact could it have? > (Note that alignment attributes can have significan

Re: [patch 6/6] scalar-storage-order merge: testsuite

2015-06-16 Thread Richard Earnshaw
On 16/06/15 10:52, Eric Botcazou wrote: > This is the testsuite part. > > testsuite/ > * c-c++-common/sso-1.c: New test. > * c-c++-common/sso: New directory. > * gcc.dg/sso-1.c: New test. > * g++.dg/sso-1.C: Likewise. > * gcc.dg/sso: New directory. > * g++.dg/ss