Cannot compile code with debug symbols
I have a source code file that will not compile with debug symbols. I get an assertion failed in file ../src/regman/regman_local.cc at line 5224. The compile command and output are below.
/opt/SUNWspro/bin/cc -g -xarch=v9b -xopenmp=noopt -xc99=all -c-o output/spirecon.o spirecon.c
cg: assertion failed in file ../src/regman/regman_local.cc at line 5224
cg: Out of range
cg: 1 errors
cc: cg failed for spirecon.c
However without the debug options and using the default -fast switch, i.e.
/opt/SUNWspro/bin/cc -fast -xarch=v9b -xopenmp=noopt -xc99=all -c-o output/spirecon.o spirecon.c
it compiles without any problems.
I was hoping someone might have a suggestion as to how what might cause this type of error.

