Internal compliler error in egcs-ss-980308
Wimmer Andreas
wim@pdib32.joanneum.ac.at
Mon Mar 9 07:58:00 GMT 1998
Hi Folks,
When switching to egcs-ss-980308 I got an internal compler error which I
could reduce to the following small test case:
-------------------------------------------------------
#include <list>
template <class T >
class JRRangeIterator {
};
template <class T>
class JRRange
{
typedef JRRangeIterator<T> const_iterator;
};
template < class T >
class JRRegionLine
{
public:
typedef list< JRRange<T> >::const_reverse_iterator const_reverse_iterator;
JRRegionLine() {};
};
main(int argc, char ** argv)
{
JRRegionLine<int> oDefRegionLine; // line 25
}
------------------------------------------------------------
Compiler run:
eg++ -Vegcs-2.91.13 -Wall test1.cpp -o test1
test1.cpp:25: Internal compiler error.
test1.cpp:25: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make: *** [test1] Error 1
make: Target `all' not remade because of errors.
The error only occured with the latest snapshot (I checked with almost all
previous snapshots), but I did not check with egcs-1.0 or 1.01
I compiled egcs (like all snapshots before) with
--enable-shared and --enable-threads
Output from config.guess:
i686-pc-linux-gnulibc1
More information about the Gcc-bugs
mailing list