This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/9487: [3.4 regression] ICE in expected build_over_call, at cp/call.c:4463
- From: bangerth at ticam dot utexas dot edu
- To: gcc-gnats at gcc dot gnu dot org
- Date: 28 Jan 2003 19:52:36 -0000
- Subject: c++/9487: [3.4 regression] ICE in expected build_over_call, at cp/call.c:4463
- Reply-to: bangerth at ticam dot utexas dot edu
>Number: 9487
>Category: c++
>Synopsis: [3.4 regression] ICE in expected build_over_call, at cp/call.c:4463
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue Jan 28 19:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Wolfgang Bangerth
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
This code
---------------------
template <class T> struct X {
template <class U> void foo();
};
template <class T>
void bar() {
X<double> x;
x.template foo<T>();
}
template void bar<int>();
------------------------
(extracted from PR 9486) now ICEs:
g/a> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c b.c
b.c: In function `void bar() [with T = int]':
b.c:10: instantiated from here
b.c:8: internal compiler error: tree check: expected function_decl, have
template_decl in build_over_call, at cp/call.c:4463
Please submit a full bug report,
It works on the 3.3 branch and in earlier releases.
W.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: