This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26938] [4.0/4.1/4.2 regression] ICE with wrong number of template parameters
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jul 2006 08:31:12 -0000
- Subject: [Bug c++/26938] [4.0/4.1/4.2 regression] ICE with wrong number of template parameters
- References: <bug-26938-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-07-16 08:31 -------
Another testcase which I ran into while reducing the bootstrap failure:
template<typename _CharT, typename _Traits =int> class basic_istream;
template<typename _CharT>
struct basic_istream
{
~basic_istream(){}
};
class istrstream : public basic_istream<char>
{
~istrstream() { }
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26938