[Bug c++/14106] New: ICE on template func instanciation: stor-layout.c:1569
gcc-bug at vogtner dot de
gcc-bugzilla@gcc.gnu.org
Wed Feb 11 10:37:00 GMT 2004
//
// 2004-02-11 gcc 3.3.2
//
// gcc-3.3.2-20040211.cc: In function `void instanciate() [with T = float]':
// gcc-3.3.2-20040211.cc:15: instantiated from here
// gcc-3.3.2-20040211.cc:13: internal compiler error: in layout_type, at
// stor-layout.c:1569
// Please submit a full bug report,
// with preprocessed source if appropriate.
// See <URL:http://gcc.gnu.org/bugs.html> for instructions.
template<class T>
void j (T i)
{
}
template<typename T>
void instanciate () {
static void (*fp) (T) = j;
__typeof__ (j) *p;
}
template void instanciate<float>();
--
Summary: ICE on template func instanciation: stor-layout.c:1569
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc-bug at vogtner dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14106
More information about the Gcc-bugs
mailing list