This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12394] New: internal compiler error: in write_type, at cp/mangle.c:1517
- From: "boris at kolpackov dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2003 21:01:41 -0000
- Subject: [Bug c++/12394] New: internal compiler error: in write_type, at cp/mangle.c:1517
- 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=12394
Summary: internal compiler error: in write_type, at
cp/mangle.c:1517
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: boris at kolpackov dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-gnu-linux
GCC host triplet: i386-gnu-linux
GCC target triplet: i386-gnu-linux
$cat >rtd.cpp
template <typename T, typename R>
R rtype_deducer_helper (R (T::*oper)());
template <typename T>
typeof (rtype_deducer_helper<T> (&T::operator ()))
rtype_deducer (T const&);
struct S
{
bool
operator () ()
{
return false;
}
};
int
main ()
{
S s;
typeof (s) a;
typeof (rtype_deducer (s)))) b;
}
$/usr/local/bin/g++ --version
g++ (GCC) 3.4 20030924 (experimental)
$/usr/local/bin/g++ ./rtd.cpp
./rtd.cpp: In function `int main()':
./rtd.cpp:24: internal compiler error: in write_type, at cp/mangle.c:1517
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$/usr/bin/g++ --version
g++ (GCC) 3.3.2 20030908 (Debian prerelease)
$/usr/bin/g++ ./rtd.cpp
rtd.cpp: In function `int main()':
rtd.cpp:24: internal compiler error: in write_type, at cp/mangle.c:1555
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$