This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11078] New: typeof and templates.... internal compiler error
- From: "jtotland1 at chello dot no" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2003 11:28:13 -0000
- Subject: [Bug c++/11078] New: typeof and templates.... internal compiler error
- 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=11078
Summary: typeof and templates.... internal compiler error
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jtotland1@chello.no
CC: gcc-bugs@gcc.gnu.org
Tested on debian, with gcc 3.0, 3,2 and 3.3
Here is a short snippet that reproduces the error:
template <class T1, class T2>
typeof(T1() + T2()) add(T1 a, T2 b) { return a+b; }
static double foo = add(3.1, 'c');
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.