When compiling lib/interaction/src/nodes/SoAntiSquish.c++ from the Inventor-2.1.5-5.src.rpm in Fedora Extras: SoAntiSquish.c++: In member function `SbMatrix SoAntiSquish::getUnsquishingMatrix(SbMatrix, SbBool, SbMatrix&)': SoAntiSquish.c++:228: error: insn does not satisfy its constraints: (insn:HI 656 1394 657 24 (set (reg:SF 66 ctr [217]) (reg:SF 66 ctr [251])) 254 {*movsf_hardfloat} (nil) (nil)) SoAntiSquish.c++:228: internal compiler error: in reload_cse_simplify_operands, at postreload.c:391 Building with -O works, with -O2 does not. Reproduced with FC3 3.4.2-6 and EL4 3.4.3-9.EL4 compilers
Created attachment 110593 [details] preprocessed source. Build with -O2.
(In reply to comment #1) David, could you please try building Inventor with fc4 or rawhide and standard RPM_OPT_FLAGS? FWIW: My powerpc-rtems4.7-g++ (base on FSF gcc-4_0-branch 200505005) doesn't ICE when cross-building your SoAntiSquish.ii
Seems as if this issue has been resolved for fc4 and rawhide. At least, building Inventor for fc4 and rawhide for the ppc with default RPM_OPT_FLAGS (i.e. w/ -01 removed) have just succeeded: http://buildsys.fedoraproject.org/build-status/job.psp?uid=344 http://buildsys.fedoraproject.org/build-status/job.psp?uid=346 So, I guess, this PR can be closed.