public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/9487: [3.4 regression] ICE in expected build_over_call, at cp/call.c:4463
@ 2003-01-28 19:56 bangerth
0 siblings, 0 replies; only message in thread
From: bangerth @ 2003-01-28 19:56 UTC (permalink / raw)
To: gcc-gnats
>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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-28 19:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-28 19:56 c++/9487: [3.4 regression] ICE in expected build_over_call, at cp/call.c:4463 bangerth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).