aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-09-03 22:34:35 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2008-09-03 22:34:35 +0200
commit3e03c9591c711e01ddcc3bfc01d18ac3a85eb852 (patch)
treeaf602b72b392b74728b687f7532308c6032fa143 /gcc/tree.c
parent3368cdd3f5f242e4ffe9147802591f5d9b5c40ec (diff)
downloadgcc-3e03c9591c711e01ddcc3bfc01d18ac3a85eb852.zip
gcc-3e03c9591c711e01ddcc3bfc01d18ac3a85eb852.tar.gz
gcc-3e03c9591c711e01ddcc3bfc01d18ac3a85eb852.tar.bz2
re PR c++/37348 (internal compiler error: tree check: expected var_decl, have field_decl in cp_finish_decl, at cp/decl.c:5461)
PR c++/37348 * decl.c (cp_finish_decl): Only set DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P if decl is VAR_DECL. * g++.dg/parse/crash45.C: New test. From-SVN: r139956
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions