On 06/28/2010 04:15 PM, Ralf Wildenhues wrote: >>> This patch is a test balloon really. So far tested with GCC and one >>> Intel version on GNU/Linux, and Sun suite on Solaris. It would need >>> lots more testing, but I don't have access to many Fortran compilers. >>> I wouldn't be surprised to see a fair amount of failures with them, >>> consider yourself warned. >> >> I'm okay with releasing 2.66 in order to widen the feedback path of more >> Fortran setups - we can deal with failures as they are reported (this >> change isn't adding regressions, just exposing any long-time issues). >> So yes, please apply. And thanks for the effort, since I am rather >> illiterate at the moment when it comes to Fortran.
> With the patch below, I've tested some version of GNU, Sun, IBM XL, and > Intel on at least one system each. I consider that fairly encouraging. > The other compilers' flags are taken from documentation only. > > OTOH, I'd love to hear from Fortran experts about a better tests that > fails free-form-assuming compilers. The comment seems to work with all > compilers tested, but I'm not sure that's a given. Well, I've gone ahead and applied your patch, and hope to get 2.66 out the door real soon now to widen the coverage. > New macro AC_FC_FIXEDFORM, improved AC_FC_FREEFORM, coverage. > > * lib/autoconf/fortran.m4 (_AC_FC_DIALECT_YEAR): Fix typo in > comment. > (AC_FC_FREEFORM): Update list of known options for Sun, HP, > Lahey/Fujitsu Fortran compilers. Use M4 quoting consistently. > (AC_FC_FIXEDFORM): New macro. > * tests/fortran.at (AC_FC_DUMMY_MAIN usage, AC_FC_MAIN usage): > Use AC_FC_FIXEDFORM, to avoid testsuite failure with FC=xlf95. > (AC_FC_FREEFORM with AC_FC_SRCEXT, AC_FC_FIXEDFORM) > (AC_FC_FIXEDFORM with AC_FC_SRCEXT): New tests. > * tests/mktests.sh: No need to exclude AC_FC_FREEFORM, it uses > AC_LANG_PUSH/AC_LANG_POP. > * doc/autoconf.texi (Fortran Compiler): Document it. > * NEWS: Update. -- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
