This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11150] New: [3.3/3.4 Regression] No code generated with explicit template instantiation
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2003 04:14:41 -0000
- Subject: [Bug c++/11150] New: [3.3/3.4 Regression] No code generated with explicit template instantiation
- 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
Summary: [3.3/3.4 Regression] No code generated with explicit
template instantiation
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: pinskia@physics.uc.edu
CC: gcc-bugs@gcc.gnu.org
OtherBugsDependingO 11148
nThis:
Compile the following code:
template <typename X>
class Foo {
int i;
public:
Foo() {
X::explode();
}
};
class Bar {
Foo<int> foo_;
public:
Bar() {}
};
template class Foo<int>;
and see that Foo<int>::Foo<int>() is not generated.
It used to generate code under 3.2.3. This is from bug 11148 which I split up.