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]

g++ (ver 2.95) crashes on DEC OSF1 with Internal compiler error 61


Reading specs from
/g/g19/ndk/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.95/specs
gcc version 2.95 19990728 (release)
 /g/g19/ndk/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.95/cpp -lang-c++
-v -D__GN
UC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Dunix -D__osf__
-D_LONGLO
NG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__ -D_LONGLONG
-D__SYSTYPE_BSD
__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD -Asystem(unix) -Asystem(xpg4)
-D__EXC
EPTIONS -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS
-D__cplusplus -Acpu(
alpha) -Amachine(alpha) -D__alpha -D__alpha__ -D__alpha_ev5__ -Acpu(ev5)
-D__alp
ha_bwx__ -Acpu(bwx) test.cc test.ii
GNU CPP version 2.95 19990728 (release)
#include "..." search starts here:
#include <...> search starts here:

/g/g19/ndk/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.95/../../../../include/g++
-3
 /g/g19/ndk/local/include

/g/g19/ndk/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.95/../../../../alphaev56-d
ec-osf4.0d/include
 /g/g19/ndk/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.95/include
 /usr/include
End of search list.
The following default directories have been omitted from the search
path:
End of omitted list.
 /g/g19/ndk/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.95/cc1plus test.ii
-quiet
-dumpbase test.cc -version -o test.s
GNU C++ version 2.95 19990728 (release) (alphaev56-dec-osf4.0d) compiled
by GNU
C version egcs-2.93.21 19990502 (gcc2 ss-980929 experimental).
test.cc:10: Internal compiler error 61.
test.cc:10: Please submit a full bug report.
test.cc:10: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for
instructions
.


Hope that helps.

Katherine Price
-- 
Katherine E. Price                        Phone: 925-424-3141
P.O. Box 808, L-038                       Email: kep@llnl.gov 
Lawrence Livermore National Lab    
Livermore, CA  94551-0808
template <class Mesh> class Region {};

template <class Mesh> class BaseTypes {
public:
   typedef Region<Mesh> Region;
};

template <class Mesh> class DerivedClass : public BaseTypes<Mesh> {
public:
   void foo(Region region)                      {}
//   void goo(Region<Mesh> region)                {}
   void hoo(::Region<Mesh> region)              {}
   void ioo(BaseTypes<Mesh>::Region region)     {}
};

main()
{
   DerivedClass<int> d;
}        
# 1 "test.cc"
template <class Mesh> class Region {};

template <class Mesh> class BaseTypes {
public:
   typedef Region<Mesh> Region;
};

template <class Mesh> class DerivedClass : public BaseTypes<Mesh> {
public:
   void foo(Region region)                      {}
 
   void hoo(::Region<Mesh> region)              {}
   void ioo(BaseTypes<Mesh>::Region region)     {}
};

main()
{
   DerivedClass<int> d;
}        

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