2 ICE bugs (potential test cases?)

Tobias Ringstrom tori@prosolvia.se
Thu Oct 29 00:33:00 GMT 1998


Reporting as ordered. This is the third time I report these failures, but I
have not received any response, and they are not fixed yet. I will keep
sending them until they are either fixed, made their way into the test suite,
or someone tells me to. :-)

Is there any way I can simplify the process of making them become official test
cases?

Thanks!

/ Tobias

---------------------------------------------------------------------------
> cat egcs-bug3.cpp
namespace ns {
    template <class T> class A {};
}
void foo()
{
    ns::A(); // ERROR, missing template argument
}
> gcc -c egcs-bug3.cpp
egcs-bug3.cpp: In function `void foo()':
egcs-bug3.cpp:6: Internal compiler error 373.
egcs-bug3.cpp:6: Please submit a full bug report to `egcs-bugs@cygnus.com'.
---------------------------------------------------------------------------
> cat egcs-bug5.cpp
template <class T> struct A {
    void f();
};
template <class T>
void A<T>::f() {
    while (true) {
    }
// Missing '}' here.
template A<int>;
> gcc -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
---------------------------------------------------------------------------
> gcc -v
Reading specs from
/usr/local/egcs-dev/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.92.17/specs
gcc version egcs-2.92.17 19981027 (gcc2 ss-980609 experimental)




More information about the Gcc-bugs mailing list