This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error in g++ from GCC2.95.2
- To: "James A. Bednar" <jbednar at cs dot utexas dot edu>
- Subject: Re: Internal compiler error in g++ from GCC2.95.2
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Mon, 31 Jan 2000 01:05:52 +0100
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <200001302341.RAA00977@pale.csres.utexas.edu>
- Reply-To: gcc-bugs at gcc dot gnu dot org
* James A. Bednar (jbednar@cs.utexas.edu) [20000131 00:41]:
> g++ 2.95.2 aborts unceremoniously when attempting to compile this
> simple file:
>
> class StringParser {
> public:
> StringParser() { }
> ~StringParser() { }
>
> double& parse(const char* s, double& x) { return x=basicparse(s,x); }
> template<class T> T& basicparse(const char* s, T& x) { return x; }
> };
>
> The code compiles fine under "gcc version egcs-2.91.66 19990314/Linux
> (egcs-1.1.2 release)" on the same machine. The command line and
The current CVS version compiles this without problems, so it seems the bug
has been fixed.
Philipp
--
Philipp Thomas <pthomas@suse.de>
SuSE GmbH, Deutschherrenstrasse 15-29, 90429 Nuremberg
Life is an ocean and love is a boat,
in troubled waters, it keeps us afloat
Christy Moore