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]

Re: Internal compiler error in g++ from GCC2.95.2


* 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

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