summaryrefslogtreecommitdiff
path: root/gcc/ggc-internal.h
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-01 21:25:15 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-01 21:25:15 +0000
commit73242672e877fad79873cf3e764dc4e8771870bb (patch)
treeed944aa62023941006f92af1582be1c26ecce946 /gcc/ggc-internal.h
parent970b2c22a884383459d455b8614222caa320c7d6 (diff)
downloadgcc-73242672e877fad79873cf3e764dc4e8771870bb.tar.gz
gcc/:
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: PR c/37303 * gcc.dg/pr37303.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187027 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-internal.h')
0 files changed, 0 insertions, 0 deletions