tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: System Prestidigitator <BOLSON () frango ! hs ! washington ! edu>
To: tru64-unix-managers
Subject: SUMMARY: C++ Compiler Internal Error while compiling Motif/OpenInventor code
Date: Fri, 15 Aug 1997 22:31:09 +0000	[thread overview]
Message-ID: <96078615810458.tru64-unix-managers.marc@archive.invalid> (raw)

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@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@u.washington.edu    http://weber.u.washington.edu/~bolson
Box 356422, Room RR 616 Health Science Building, Seattle, WA, 98195-6422

                 reply	other threads:[~1997-08-15 22:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox