Internal compiler error

Michael Haggerty mhagger@blizzard.harvard.edu
Tue Sep 15 17:17:00 GMT 1998


Hi,

The following transcript illustrates an internal compiler error:

======================================================================
$ uname -a
OSF1 tsunami.harvard.edu V4.0 564 alpha
$ e++ -v
Reading specs from /usr/local/egcs-1.1a/lib/gcc-lib/alpha-dec-osf4.0b/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
$ e++ -c bugtest.cc
bugtest.cc: In function `void f()':
bugtest.cc:12: Internal compiler error.
bugtest.cc:12: Please submit a full bug report to `egcs-bugs@cygnus.com'.
$ cat bugtest.cc
struct Outer
{
    struct Inner
    {
        double operator() ();
    };
};
 

void f()
{
    Outer::Inner()();
}


======================================================================

My compiler was built with the following commands (unpatched source):

======================================================================
# made directory ~/download/egcs-1.1a-compilation and changed to it.
CC=ecc nice -2 ../egcs-1.1a/configure --prefix=/usr/common/egcs-1.1a --exec-prefix=/usr/local/egcs-1.1a --enable-shared
nice -2 make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
sudo nice -2 make install
ln -s /usr/local/egcs-1.1a/bin/c++ /usr/local/bin/e++
======================================================================

I hope this helps.

Michael

--
Michael Haggerty
mhagger@blizzard.harvard.edu



More information about the Gcc-bugs mailing list