when trying to compile the CWP/SU package from http://www.cwp.mines.edu/cwpcodes/ with gcc-3.2.1-r6 i get this error on compiling susort.c: cc -I/home/SU/include -mcpu=750 -O3 -fomit-frame-pointer -fprefetch-loop-arrays -D_POSIX_SOURCE -DCWP_BIG_ENDIAN susort.c -llapack -lf77blas -lcblas -latlas -L/home/SU/lib -lsu -lpar -lcwp -lm -o /home/SU/bin/susort susort.c: In function `negval': susort.c:304: could not split insn (insn 170 44 41 (set (reg:SI 11 r11) (const_int 4294901760 [0xffff0000])) 296 {*movsi_internal1} (nil) (nil)) susort.c:304: Internal compiler error in final_scan_insn, at final.c:2622 Please submit a full bug report, with optimization turned off it compiles fine. Reproducible: Always Steps to Reproduce: 1.in Makefile.conf turn on ANY optimization, -Ox 2.make install 3. Actual Results: the above mentioned error Expected Results: compile!!!! gcc-3.2.1-r6
so you say only with optimization turned on? As in the mcpu=750? If so thats a known problem here, gcc 3.2 and mcpu=750 do _not_ make a good combination. I would suggest to turn off the optimization and/.or try gcc-3.2.2 (it is ~ppc in portage)
i did try with only -O3 and -O2, without -mcpu=750 with the same result. i wanted to try gcc-3.2.2 but ran out of /tmp space for the merge, so i'll try that again tonight and report when it's done
ok, tried 3.2.2. it's a bug, all combo's of options i had the patience to try produce the same failure at 'splitting insn'. Well, i'll go for unoptimized code for the time being...
There is a gcc 3.3 release due any day from what I understand so hopefully these things are caught with new release. I know franzo has been laboring away at things :)
gcc 3.2.2-r2 got marked stable please try it, if it still doesn't work you should probably report this to the gcc developers. closing this bug as we can't realy do something about it
will try that, thanks.
bugzilla strangeness