Internal compiler error: Assertion: (../lnk/v2mangler.cc, line 136)
I am working in C++ in this environment:
$ which CC
/hep1/lang/sunstudio11/SUNWspro/prod/bin/CC
$ CC -V
CC: Sun C++ 5.8 Patch 121017-10 2007/02/21
$ uname -a
SunOS hep 5.9 Generic_118558-37 sun4u sparc SUNW,A70
I have run into the following internal compiler error more than once:
>> Assertion: (../lnk/v2mangler.cc, line 136)
while processing ./tempdir/xxx.c at line 0.
... where xxx.c is the preprocessed file. The error message is always the same (i.e. generated from line 136 of v2mangler.cc and complaining about line 0 of the preprocessed file). I have tried without success to isolate line(s) in my C++ source causing the error. It might help to know what the compiler is trying to do near line 136 of v2mangler.cc which triggers this error.

