egcs-2.90.27 Internal Compiler Error

Rubber_Buccaneer@Galactic.Headquarters.org Rubber_Buccaneer@Galactic.Headquarters.org
Thu Apr 9 07:12:00 GMT 1998


The following is the minimum I found which would reproduce the Internal
Compiler Error. The system is 
SunOS athene 5.5.1 Generic sun4u sparc SUNW,Ultra-2
and the compiler is
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)


g++ -c t_base.cc -g   -fpic -o t_base.o
t_base.cc:5: Internal compiler error.
t_base.cc:5: Please submit a full bug report to `egcs-bugs@cygnus.com'.


t_base.hh ------------------
#ifndef BASE_MATRIX_HH
#define BASE_MATRIX_HH

template<class MATRIX>
class base_matrix
{
public:
  friend MATRIX operator+<>( const MATRIX &m, const MATRIX &n);
private:
};

#endif

t_base.cc -------------------
#include "t_base.hh"

template<class MATRIX>
MATRIX operator+<>( const MATRIX &m, const MATRIX &n)
{
  MATRIX tmp = m;
  return tmp.update( plus_equals(), n);
}


-- 


Ta ta fa noo,
	     The Rubber Buccaneer a.k.a. rap@maths.soton.ac.uk

###								      ###
# #      WWW page at http://www.maths.soton.ac.uk/rap/HomePage.html   # #
# #                                                                   # #
# #  			It's good stuff!			      # #
# #                                                                   # #
# #    Sub-sections of note:                                          # #
# #          Psychobilly database : rap/psycho.html                   # #
# #          The state of the nation : rap/State_of_the_Nation.html   # #
# #                                                                   # #
###								      ###



More information about the Gcc-bugs mailing list