Re: [Ada] Implement switches to reorder record components in gigi

2011-03-21 Thread Duncan Sands
Hi Eric, Not clear what kind of answer you're expecting. To cancel the previous define? I somehow failed to see the define. Sorry for the noise. Ciao, Duncan.

Re: [Ada] Implement switches to reorder record components in gigi

2011-03-21 Thread Eric Botcazou
> Hi Eric, this looks like a nice improvement. I noticed this mysterious > undef though - what is it for? > > +#undef MOVE_FROM_FIELD_LIST_TO Not clear what kind of answer you're expecting. To cancel the previous define? -- Eric Botcazou

Re: [Ada] Implement switches to reorder record components in gigi

2011-03-21 Thread Duncan Sands
Hi Eric, this looks like a nice improvement. I noticed this mysterious undef though - what is it for? +#undef MOVE_FROM_FIELD_LIST_TO Ciao, Duncan.

[Ada] Implement switches to reorder record components in gigi

2011-03-21 Thread Eric Botcazou
This is the gigi part of the implementation of the -gnatd.r/-gnatd.v switches that allow record components to be reordered in certain cases. The algorithm is documented in the code. Tested on i586-suse-linux, applied on the mainline. 2011-03-21 Eric Botcazou * gcc-interface/decl.c