Description of problem: rpmbuild --rebuild libdv-0.103-4.src.rpm ..................... if /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fPIC -funswitch-loops -ftree-loop-linear -march=k8 -ftree-vectorize -pipe -mfpmath=sse -Wall -g -MT quant.lo -MD -MP -MF ".deps/quant.Tpo" -c -o quant.lo quant.c; \ then mv -f ".deps/quant.Tpo" ".deps/quant.Plo"; else rm -f ".deps/quant.Tpo"; exit 1; fi quant.c:243: warning: 'quant_248_inverse_mmx' defined but not used quant.c: In function 'dv_quant_init': quant.c:155: internal compiler error: in bsi_after_labels, at tree-flow-inline.h:520 Please submit a full bug report, .............. Version-Release number of selected component (if applicable): gcc-4.0.2-3 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: It builds if I *don't* use -ftree-loop-linear.
Created attachment 119749 [details] Preprocessed source
I guess this is the same problem as fixed on HEAD in PR23625.
WFM with gcc-4.1.0-0.7 sean