From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513 Description of problem: g77 can't compile a file (gb8414.f, you can get it from the URL) with -O (-O2 and no-optims works!) Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. g77 -c -u -g -fpic -I'/n/napa/sys' -fno-f90 -fugly-complex -fno-globals -O gb8414.f Actual Results: well, i got an error message and no object file. Expected Results: i should have gotten a compiled object file. Additional info: the URL has it all, but here's again: # /usr/bin/g77 -c -u -g -fpic -I'/n/napa/sys' -fno-f90 -fugly-complex -fno-globals -O gb8414.f gb8414.f: In subroutine `gb8414': gb8414.f:419: Internal compiler error in fixup_var_refs_1, at function.c:1964 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. GNU Fortran (GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)) 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)
Created attachment 104674 [details] test case
Fails through gcc 3.3; fixed in gcc 3.4.