Trying to compile another project, but CC cored dumps as soon as -xON is used with N > 2. E.g.:
CC -g -fsimple=1 -xlibmil -xlibmopt -xdepend -m32 -xarch=sse3 -xO4 -I/export/scratch/build/root4build/usr/include -features=zla -I/export/scratch/build/leo2/lib/minisat -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS -g -D DEBUG -c -o SimpSolver.o SimpSolver.cc
[152] ___LHHB size 4 align 4 PTR strty t[581] ADDR_CONST AUTO_SEG.-164.4(12,0) addressed_leaf L[149]
[335] t[581] assign (VAR ___LUHB L[153]) (ADDR_CONST &L149 L[152])
block scope mismatch: leaf scope 24, triple scope 6, comp res 3
[152] ___LHHB size 4 align 4 PTR strty t[581] ADDR_CONST AUTO_SEG.-164.4(12,0) addressed_leaf L[149]
[340] t[581] assign (VAR ___LUHB L[153]) (ADDR_CONST &L149 L[152])
block scope mismatch: leaf scope 24, triple scope 6, comp res 3
/local/apps/solarisstudio12.4/lib/compilers/iropt'libsunir_error_callback+0x45c [0x828656c]
/local/apps/solarisstudio12.4/lib/compilers/sys/libsunir.so'0xdd1e [0xfe62dd1e]
/local/apps/solarisstudio12.4/lib/compilers/sys/libsunir.so'0x44248 [0xfe664248]
/local/apps/solarisstudio12.4/lib/compilers/sys/libsunir.so'0x44799 [0xfe664799]
/local/apps/solarisstudio12.4/lib/compilers/sys/libsunir.so'0x24af8 [0xfe644af8]
/local/apps/solarisstudio12.4/lib/compilers/sys/libsunir.so'0x24ea6 [0xfe644ea6]
/local/apps/solarisstudio12.4/lib/compilers/sys/libsunir.so'0x26b4f [0xfe646b4f]
/local/apps/solarisstudio12.4/lib/compilers/sys/libsunir.so'0x27ed8 [0xfe647ed8]
/local/apps/solarisstudio12.4/lib/compilers/sys/libsunir.so'ir_proc_write+0x70 [0xfe635ee0]
/local/apps/solarisstudio12.4/lib/compilers/iropt'write_irfile+0x17b [0x833ad1b]
/local/apps/solarisstudio12.4/lib/compilers/iropt'0x2ebb27 [0x833bb27]
/local/apps/solarisstudio12.4/lib/compilers/iropt'main+0x4b2 [0x83417e2]
/local/apps/solarisstudio12.4/lib/compilers/iropt'_start+0x72 [0x8094792]
compiler(iropt) error: Iropt internal error calling libsunir.
CC: Fatal error in /local/apps/solarisstudio12.4/lib/compilers/iropt
CC: Status 134
But even with -xO2 only I get:
[147] ___LVEB size 4 align 4 PTR strty t[581] ADDR_CONST AUTO_SEG.-144.4(12,0) addressed_leaf L[144]
[312] t[581] assign (VAR ___LIFB L[148]) (ADDR_CONST &L144 L[147])
block scope mismatch: leaf scope 21, triple scope 6, comp res 3
[147] ___LVEB size 4 align 4 PTR strty t[581] ADDR_CONST AUTO_SEG.-144.4(12,0) addressed_leaf L[144]
[317] t[581] assign (VAR ___LIFB L[148]) (ADDR_CONST &L144 L[147])
block scope mismatch: leaf scope 21, triple scope 6, comp res 3
The SimpSolver.o gets produced, but I'm not sure, whether it can be used because of the shown obscure warnings? Any hints, what they mean?