Internal compiler error in egcs-1.1 19980803
Tobias Ringstrom
tori@prosolvia.se
Tue Aug 4 01:47:00 GMT 1998
The following incorrect code results in an ICE.
Since I have not received any answers to my last two or three bug reports, I
just wonder if unanswered bug reports are ignored/forgotten, or silently fixed.
It takes some time to construct a small example that demonstrates a bug, and
it would feel good to know that the effort is not in vain.
Would it help to write the bug report in the testcase format? Where should such
such a testcase be sent? Egcs-patches?
Are there any plans to use some kind of bug tracking system for egcs?
/ Tobias
> g++ -v
Reading specs from
/usr/local/egcs-1.1/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.52/specs
gcc version egcs-2.91.52 19980803 (gcc2 ss-980609 experimental)
> g++ -c egcs-bug5.cpp
egcs-bug5.cpp: In method `void A<T>::f()':
egcs-bug5.cpp:9: parse error before `template'
../../egcs/gcc/tree.c:1953: Internal compiler error in function chainon
template <class T> struct A {
void f();
};
template <class T>
void A<T>::f() {
while (true) {
}
// Missing '}' here.
template A<int>;
More information about the Gcc-bugs
mailing list