aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2017-05-09 09:48:58 -0400
committerJason Merrill <jason@gcc.gnu.org>2017-05-09 09:48:58 -0400
commit6064858051d6e07bb89f3384c0d828f07c576c7a (patch)
tree815f68ce3b1ebd2059c5d426b0319427a127795a /gcc/tree.h
parent6c38fbc648dc7bfa73ef703d1584196f64dcc151 (diff)
downloadgcc-6064858051d6e07bb89f3384c0d828f07c576c7a.zip
gcc-6064858051d6e07bb89f3384c0d828f07c576c7a.tar.gz
gcc-6064858051d6e07bb89f3384c0d828f07c576c7a.tar.bz2
PR c++/70167 - array prvalue treated as lvalue
* cp-tree.h (CONSTRUCTOR_C99_COMPOUND_LITERAL): New. (enum fcl_t): New. * semantics.c (finish_compound_literal): Add fcl_context parameter. Only make a static variable for C99 syntax. * parser.c (cp_parser_postfix_expression): Pass it. * pt.c (tsubst_copy_and_build): Likewise. * call.c (extend_ref_init_temps): Set DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. From-SVN: r247793
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions