SUMMARY: C++ Compiler Internal Error while compiling Motif/OpenInventor code

From: System Prestidigitator <BOLSON_at_frango.hs.washington.edu>
Date: Fri, 15 Aug 1997 15:31:09 -0700 (PDT)

I found that the simple statement:

        stringpointer = stringpointer++;

caused the gemc_cxx compiler to bomb! It had nothing to do with the big complex
program, for example:

fudge.hs.washington.edu> cat >testcxxbomb.cxx
main()
{
        char *s;

        s=s++;
}
fudge.hs.washington.edu> cxx testcxxbomb.cxx
Assertion failure: Compiler internal error - please submit problem report
GEM ASSERTION, Compiler internal error - please submit problem report
Fatal error in: /usr/lib/cmplrs/cxx/gemc_cxx Terminated
fudge.hs.washington.edu>

Thanks to "-Burch Seymour- bseymour_at_encore.com" who had the solution right away, but
I didn't recognize it in my code (which was provided to me by others and compiled
fine on an SGI). His problem was with "i=i++;"

I asked for advice on the following problem:

fudge.hs.washington.edu> cxx -V
cxx (cxx)
DEC C++ V5.5-004 on Digital UNIX (Alpha)


The error message:
make
cxx -I. -g $OIV_CC_OPTS -DIV_STRICT -c heartviewer_p2.cc -o heartviewer_p2.o
Assertion failure: Compiler internal error - please submit problem report
GEM ASSERTION, Compiler internal error - please submit problem report
Fatal error in: /usr/lib/cmplrs/cxx/gemc_cxx Terminated
*** Exit 3
Stop.


Ed Bolson University of Washington Cardiac Imaging Lab (206)543-4535
bolson_at_u.washington.edu http://weber.u.washington.edu/~bolson
Box 356422, Room RR 616 Health Science Building, Seattle, WA, 98195-6422
Received on Sat Aug 16 1997 - 00:37:46 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT