Re: [patch 0/6] scalar-storage-order merge (2)

2015-11-08 Thread Eric Botcazou
> See https://gcc.gnu.org/ml/gcc/2015-06/msg00126.html for the proposal. The branch has been merged into mainline but without C++ support. This means that the scalar_storage_order attribute is supported in C, Objective-C and Ada only for the time being; the branch will remain open to host the C

Re: [patch 0/6] scalar-storage-order merge (2)

2015-10-14 Thread Jeff Law
On 10/14/2015 09:25 AM, Trevor Saunders wrote: I haven't looked at the C++ changes, but I tend to think they mat may be the language where this is the least useful. I expect it would be pretty "trivial" to write some wrapper classes that use bswap in operators so you could say things like struc

Re: [patch 0/6] scalar-storage-order merge (2)

2015-10-14 Thread Trevor Saunders
On Tue, Oct 13, 2015 at 07:32:08PM +0200, Eric Botcazou wrote: > > My main question about this series is - how generally useful do you > > expect it to be? I know of some different projects that would like > > bi-endian capability, but it looks like this series implements something > > that is a li

Re: [patch 0/6] scalar-storage-order merge (2)

2015-10-13 Thread Eric Botcazou
> My main question about this series is - how generally useful do you > expect it to be? I know of some different projects that would like > bi-endian capability, but it looks like this series implements something > that is a little too limited to be of use in these cases. AdaCore has customers wh

Re: [patch 0/6] scalar-storage-order merge (2)

2015-10-09 Thread Bernd Schmidt
On 10/06/2015 12:57 PM, Eric Botcazou wrote: this is a repost of the diff of the scalar-storage-order branch vs mainline. It contains the fixes suggested by Joseph for the C front-end and the doc, fixes for the handling of complex types, the new pragma scalar_storage_order and associated -fsso-st

[patch 0/6] scalar-storage-order merge (2)

2015-10-06 Thread Eric Botcazou
Hi, this is a repost of the diff of the scalar-storage-order branch vs mainline. It contains the fixes suggested by Joseph for the C front-end and the doc, fixes for the handling of complex types, the new pragma scalar_storage_order and associated -fsso-struct switch for the C family of language

[patch 0/6] scalar-storage-order merge

2015-06-16 Thread Eric Botcazou
Hi, I have split the diff into 6 pieces, which are interdependent and thus cannot be applied independently: 3 for the Ada, C and C++ front-ends, 1 for the bulk of the implementation, 1 for the rest and 1 for the testsuite. It has been bootstrapped/regtested on x86_64-linux and powerpc-linux. -