Description of problem: gfortran has an ICE when the -fbounds-check option is used. It compiles properly when used w/o -fbounds-check Version-Release number of selected component (if applicable): gcc-gfortran-4.1.0-3 How reproducible: always Steps to Reproduce: 1.download the attachment 2 [details].untar it 3.run make Actual results: gfortran -c -fbounds-check -O3 -ffast-math td_exp_oct.f90 td_exp_oct.f90: In function âtd_exp_dtâ: td_exp_oct.f90:9: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. make: *** [td_exp_oct.o] Error 1 Expected results: Should build like when used w/o bounds-check Additional info: I checked rawhide for any newer gcc-gfortran to test with to provide a better report. If a new gcc build hits rawhide let me know, and I'll repeat the tests. Thanks!
Created attachment 126763 [details] A tarball containing sample code to trigger the ICE
Fixed between 4.1.0-3 and 4.1.0-5.