FWIW, I've long thought that -funroll-loops ought to be the default for g77 for some optimization level, presumably -O2. Are there good reasons for it not to be? (I think it is, typically, with other compilers, which don't normally provide a separate flag.)