On 05/01/2012 01:05 PM, Ian Lance Taylor wrote:
2012-05-01 Ian Lance Taylor<i...@google.com>PR c/37303 * c-decl.c (build_compound_literal): Make the decl readonly if it an array of a readonly type. * gimplify.c (gimplify_compound_literal_expr): Add fallback parameter. Change all callers. If the decl is not addressable and is not an l-value, make it readonly. gcc/testsuite/: 2012-05-01 Ian Lance Taylor<i...@google.com> PR c/37303 * gcc.dg/pr37303.c: New test.
Ok. r~