This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
typeof ICE egcs1.1
- To: egcs-bugs at cygnus dot com
- Subject: typeof ICE egcs1.1
- From: Andrew Fitzgibbon <awf at robots dot ox dot ac dot uk>
- Date: Thu, 26 Nov 1998 13:37:05 GMT
This code causes an internal compiler error
template <class T>
class X {
typedef typeof (*T()) objT;
};
Reading specs from /homes/39/pkg/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
/homes/39/pkg/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.57/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem(unix) -Asystem(svr4) -D__EXCEPTIONS -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) t.cc /var/tmp/ccmiSZ4n.ii
GNU CPP version egcs-2.91.57 19980901 (egcs-1.1 release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
/homes/39/pkg/include/g++
/homes/39/pkg/lib/g++-include
/usr/local/include
/homes/39/pkg/sparc-sun-solaris2.6/include
/homes/39/pkg/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.57/include
/usr/include
End of search list.
/homes/39/pkg/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.57/cc1plus /var/tmp/ccmiSZ4n.ii -quiet -dumpbase t.cc -version -o /var/tmp/ccAVL96F.s
GNU C++ version egcs-2.91.57 19980901 (egcs-1.1 release) (sparc-sun-solaris2.6) compiled by GNU C version 2.7.2.3.
t.cc:3: Internal compiler error.
t.cc:3: Please submit a full bug report to `egcs-bugs@cygnus.com'.