Bug 7866 - ICE in g++ (resolve_overloaded_unification)
: ICE in g++ (resolve_overloaded_unification)
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/gcc3.4-c++)
: unstable
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2005-09-05 10:01 by
Modified: 2006-05-12 11:53 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-09-05 10:01:32
$ cat >ICE.cpp
#include <iostream>
template <class T> void foo(T t)
{
std::cerr << typeid(t).name; // This line is broken, of course
}

$ g++ ICE.cpp -c -o ICE.o
ICE.cpp: In function `void foo(T)':
ICE.cpp:4: internal compiler error: in resolve_overloaded_unification, at
cp/pt.c:9316
Please submit a full bug report,
with preprocessed source if appropriate.
...
$ g++ -v 2>&1 | tail -1
gcc version 3.4.4 20050526 (ALT Linux, build 3.4.4-alt1)
$ rpm -q gcc3.4-c++
gcc3.4-c++-3.4.4-alt1
------- Comment #1 From 2006-05-12 11:50:38 -------
Исправлено в 4.1.
------- Comment #2 From 2006-05-12 11:53:28 -------
Как неудобно, что нельзя сразу перевести баг из NEW в CLOSED.