> Good to hear. I wasn't sure whether the sizes were even supposed to
> agree. Assuming Jakub's second patch fixes java for us (testing now),
> that just leaves gcc.c-torture/execute/20010924-1.c which fails to
> size a3 and a4 properly. Both of these vars have DECL_SIZE_UNIT of 1.
>
> struct {
> char a3c;
> char a3p[];
> } a3 = {
> 'o',
> "wx"
> };
>
> struct {
> char a4c;
> char a4p[];
> } a4 = {
> '9',
> { 'e', 'b' }
> };
Flexible array members (or related GNU extensions) are a specific issue,
reported under PR middle-end/28865.
--
Eric Botcazou