This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11149] New: [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type
- 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:03:30 -0000
- Subject: [Bug c++/11149] New: [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type
- 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=11149
Summary: [3.3/3.4 Regression] ICE on error when instantiation
with call function of a base type
Product: gcc
Version: unknown
Status: NEW
Keywords: ice-on-invalid-code
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 this code:
template <typename X>
class Foo {
int i;
public:
Foo() {
X::explode();
}
};
class Bar {
Foo<int> foo_;
public:
Bar() {}
};
template class Foo<int>;
Since this is split, and I can confirm this on the mainline (20030610) and 3.3.1
(20030526) and I do not see the ICE. in 3.2.3