re PR c++/7931 (The compiler ices on some legal code)
PR c++/7931 * pt.c (for_each_template_parm_r): Handle BASELINKs. PR c++/7754 * decl2.c (finish_anon_union): Do not expand anonymous unions when procesing template functions. * pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable type. Call layout_decl. (tsubst_expr, case DECL_STMT): Handle anonymous unions. PR c++/7931 * g++.dg/template/ptrmem3.C: New test. PR c++/7754 * g++.dg/template/union1.C: New test. From-SVN: r57800
Showing
gcc/testsuite/g++.dg/template/ptrmem3.C
0 → 100644
gcc/testsuite/g++.dg/template/union1.C
0 → 100644
Please
register
or
sign in
to comment