re PR libstdc++/12232 (Incorrect handling of openmode argument in filebuf::seekoff and seekpos)

cp:
	PR c++/12232
	* pt.c (instantiate_class_template): Increment
	processing_template_decl around the tsubst of a template member
	function.
testsuite:
	PR c++/12232
	* g++.dg/template/memtmpl2.C: New test.

From-SVN: r71563
This commit is contained in:
Nathan Sidwell 2003-09-19 09:28:05 +00:00 committed by Nathan Sidwell
parent b90e0e3cdb
commit 3501ba248a
3 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2003-09-19 Nathan Sidwell <nathan@codesourcery.com>
PR c++/12232
* pt.c (instantiate_class_template): Increment
processing_template_decl around the tsubst of a template member
function.
2003-09-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
* decl.c (cxx_scope_descriptor): Fix thinko.

View File

@ -1,3 +1,8 @@
2003-09-19 Nathan Sidwell <nathan@codesourcery.com>
PR c++/12232
* g++.dg/template/memtmpl2.C: New test.
2003-09-18 Mark Mitchell <mark@codesourcery.com>
PR target/11184

View File

@ -0,0 +1,15 @@
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 18 Sep 2003 <nathan@codesourcery.com>
// PR c++/12232. ICE
template <unsigned D> class TPL;
template <typename T> struct X {
template <template <typename> class V>
V<TPL<V<int>::d> > operator () ();
};
void Foo (X<int> x) {}