[c-family] Fix -fdump-ada-spec buglet in C++

2012-10-15 Thread Eric Botcazou
Hi, since the sizetype change, we generate invalid Ada for flexible array members with -fdump-ada-spec in C++. The attached patch fixes this issue and also partially revamps the code to polish some rough edges. Tested on x86_64-suse-linux, OK for mainline? 2012-10-15 Eric Botcazou c-fami

Re: [c-family] Fix -fdump-ada-spec buglet in C++

2012-10-15 Thread Joseph S. Myers
On Mon, 15 Oct 2012, Eric Botcazou wrote: > Hi, > > since the sizetype change, we generate invalid Ada for flexible array members > with -fdump-ada-spec in C++. The attached patch fixes this issue and also > partially revamps the code to polish some rough edges. > > Tested on x86_64-suse-linu