This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/6839: ICE on illegal explicit member function instantiationsyntax
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 31 Oct 2002 19:26:01 -0000
- Subject: Re: c++/6839: ICE on illegal explicit member function instantiationsyntax
- Reply-to: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
The following reply was made to PR c++/6839; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-bugs@gcc.gnu.org, <gcc-gnats@gcc.gnu.org>
Cc:
Subject: Re: c++/6839: ICE on illegal explicit member function instantiation
syntax
Date: Thu, 31 Oct 2002 13:21:16 -0600 (CST)
A minimal example for this ICE in all gcc versions is of course
-------------------------------
template <typename T> class X {
void f(){};
};
template void X<int>::f;
-------------------------------
Note the missing parentheses in the explicit instantiation.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth