This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11150] [3.3/3.4 Regression] No code generated with explicit template instantiation
- From: "lerdsuwa at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2003 14:21:22 -0000
- Subject: [Bug c++/11150] [3.3/3.4 Regression] No code generated with explicit template instantiation
- References: <20030611041439.11150.pinskia@physics.uc.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11150
lerdsuwa@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-06-11 14:21:22
date| |
------- Additional Comments From lerdsuwa@gcc.gnu.org 2003-06-11 14:21 -------
This is the correct testcase:
template <typename X>
class Foo {
int i;
public:
Foo() {
}
};
class Bar {
Foo<int> foo_;
public:
Bar() {}
};
template class Foo<int>;