make check
or any other testing command. After
the build is complete, edit your Make.inc, and scope the
F77FLAGS
macro. If it has the flag -mfpmath=387
anywhere
in it, then you must append -O1
to it in order for gfortran 4.6
to properly compile the testers.
If you make this change before the
build, it will slow down all Fortran routines (eg., many lapack routines),
which does not seem necessary to defeat the compiler bug.