c++/9457: [3.4 regression] ICE in tsubst_copy, at cp/pt.c:7124
bangerth@ticam.utexas.edu
bangerth@ticam.utexas.edu
Mon Jan 27 17:05:00 GMT 2003
>Number: 9457
>Category: c++
>Synopsis: [3.4 regression] ICE in tsubst_copy, at cp/pt.c:7124
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Mon Jan 27 16:26:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Wolfgang Bangerth
>Release: unknown-1.0
>Organization:
>Environment:
3.4 present
>Description:
This ICEs since recently:
-----------------------------
template <typename> void foo (int count) {
int i = {count};
}
template void foo<int> (int);
------------------------------
g/a> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c bug34-3.cc
bug34-3.cc: In function `void foo(int) [with {template default argument error}
= int]':
bug34-3.cc:4: instantiated from here
bug34-3.cc:2: internal compiler error: in tsubst_copy, at cp/pt.c:7124
Please submit a full bug report,
It works on the 3.3 branch and before.
W.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list