ptrmem3.C
340 Bytes
-
re PR c++/7931 (The compiler ices on some legal code) · bd9bb3d2
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
Mark Mitchell committed