]> gcc.gnu.org Git - gcc.git/commit
re PR c++/7931 (The compiler ices on some legal code)
authorMark Mitchell <mark@codesourcery.com>
Fri, 4 Oct 2002 05:13:59 +0000 (05:13 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 4 Oct 2002 05:13:59 +0000 (05:13 +0000)
commitbd9bb3d2b01e5f69a42118114baddf16e1862101
tree48ff2f7f2c9fc83ca936cfb7cd280a4c8cd24e18
parent6397d80b752df0770438e1edbc1efd8773fbb7eb
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
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/ptrmem3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/union1.C [new file with mode: 0644]
This page took 0.05934 seconds and 5 git commands to generate.