aboutsummaryrefslogtreecommitdiff
path: root/gcc/lambda-code.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-03-21 16:15:41 -0400
committerJason Merrill <jason@gcc.gnu.org>2009-03-21 16:15:41 -0400
commitc11655358bd4a0f3dba75e77dc531a9399f37684 (patch)
tree632fbc5aeb17457459bfa8833e865a8f2f37a7fd /gcc/lambda-code.c
parentb39f88bd05693c200851c934fca5ee8d0121173e (diff)
downloadgcc-c11655358bd4a0f3dba75e77dc531a9399f37684.zip
gcc-c11655358bd4a0f3dba75e77dc531a9399f37684.tar.gz
gcc-c11655358bd4a0f3dba75e77dc531a9399f37684.tar.bz2
re PR c++/28879 (ICE with VLA in template function)
PR c++/28879 * parser.c (cp_parser_direct_declarator): In a template, wrap non-constant expression in NOP_EXPR with TREE_SIDE_EFFECTS set. * pt.c (tsubst): Preserve it in a partial instantiation. (dependent_type_p_r): Don't check value_dependent_expression_p. * decl.c (compute_array_index_type): Don't check value_dependent_expression_p if TREE_SIDE_EFFECTS. From-SVN: r144988
Diffstat (limited to 'gcc/lambda-code.c')
0 files changed, 0 insertions, 0 deletions