This adjusts the type adjustment code for array components in the C and C++ front-ends as per Joseph's remark, fixes a couple of documentation glitches and adds 3 more testcases following Richard's questions. Joseph, is that what you had in mind? Tested on x86_64-suse-linux. * doc/extend.texi (scalar_storage_order): Move around and fix glitches. c-family/ * c-common.c (c_common_attributes): Move scalar_storage_order around. (handle_scalar_storage_order_attribute): Move around. c/ * c-decl.c (finish_struct): Properly rewrite the type of array fields. cp/ * class.c (finish_struct_1): Likewise. testsuite/ * c-c++-common/sso-2.c: New test. * c-c++-common/sso-3.c: Likewise. * c-c++-common/sso-4.c: Likewise. -- Eric Botcazou