This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Internal compiler error in egcs-1.1 19980803


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>;



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]