[Bug c++/11078] New: typeof and templates.... internal compiler error
jtotland1@chello.no
gcc-bugzilla@gcc.gnu.org
Tue Jun 3 11:28:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list