Software:GNU Fortran

From HandWiki
Short description: Fortran compiler
GNU Fortran
GNU Compiler Collection logo.svg
Developer(s)GNU Project
Initial releaseApril 20, 2005; 18 years ago (2005-04-20)[1]
Stable release
13.2[2][1] / 27 July 2023; 6 months ago (2023-07-27)
Written inC, C++
Operating systemCross-platform
PlatformGNU
TypeCompiler
LicenseGNU General Public License (version 3 or later)
Website{{{1}}}

GNU Fortran (GFortran) is an implementation of the Fortran programming language in the GNU Compiler Collection (GCC), an open-source and free software project maintained in the open-source programmer community under the umbrella of the GNU Project. It is the successor to previous compiler versions in the suite, such as g77.

History

As of July 2020, GFortran had almost fully implemented Fortran 2008, and about 20% of Fortran 2018.[3][4] It supports the OpenMP[5] multi-platform shared memory multiprocessing, up to its latest version (4.5).[6] GFortran is also compatible with most language extensions and compilation options supported by g77,[7] and many other popular extensions of the Fortran language.[8]

Since GCC version 4.0.0, released in April 2005,[9] GFortran has replaced the older g77 compiler. The new Fortran front-end for GCC was rewritten from scratch,[10] after the principal author and maintainer of g77, Craig Burley, decided in 2001 to stop working on the g77 front end.[11] GFortran forked off from g95 in January 2003, which itself started in early 2000. The two codebases have "significantly diverged" according to GCC developers,[12] and g95 is not maintained anymore since 2013. Since 2010 the front-end, like the rest of the GCC project, has been migrated to C++, where it was previously written in C.[13] Development of the compiler by volunteer users continues[14] and each new version of GCC incorporates better support for the latest language standards and bug fixes.

See also

  • Cray pointer
  • Quadruple precision scientific notation

References

  1. 1.0 1.1 "GCC Releases – GNU Project – Free Software Foundation (FSF)". GNU Project. https://www.gnu.org/software/gcc/releases.html. 
  2. "GCC 13 Release Series - GNU Project - Free Software Foundation (FSF)". https://gcc.gnu.org/gcc-13/. 
  3. "Chart of Fortran 2003 Features supported by GNU Fortran". GNU. https://gcc.gnu.org/wiki/Fortran2003Status. 
  4. "Chart of Fortran 2008 Features supported by GNU Fortran". GNU. https://gcc.gnu.org/wiki/Fortran2008Status. 
  5. "Parallel Computing in Fortran with OpenMP". https://jblevins.org/log/openmp. 
  6. "OpenMP (The GNU Fortran Compiler)". https://gcc.gnu.org/onlinedocs/gfortran/OpenMP.html#OpenMP. 
  7. "Discussion of incompatibilities between g77 and gfortran". GNU. https://gcc.gnu.org/ml/fortran/2007-01/msg00619.html. 
  8. "Extensions implemented in GNU Fortran (The GNU Fortran Compiler)". https://gcc.gnu.org/onlinedocs/gfortran/Extensions-implemented-in-GNU-Fortran.html#Extensions-implemented-in-GNU-Fortran. 
  9. "GCC 4.0 Release Series - GNU Project". https://gcc.gnu.org/gcc-4.0/. 
  10. "GFORTRAN and G77 - the GNU Fortran 95 Compiler". https://gcc.gnu.org/onlinedocs/gcc-4.1.2/gfortran/GFORTRAN-and-G77.html. 
  11. "Why I'm Stopping My G77 Work". http://www.kilmnj.com/g77/why.html. 
  12. "The other GCC-based Fortran compiler". GNU. https://gcc.gnu.org/wiki/TheOtherGCCBasedFortranCompiler. 
  13. "GCC allows C++ – to some degree - the H Open: News and Features". http://www.h-online.com/open/news/item/GCC-allows-C-to-some-degree-1012611.html. 
  14. "Letter from GCC/gfortran contributor with a brief history" (in en). 2023-02-12. https://fortran-lang.discourse.group/t/letter-from-gcc-gfortran-contributor-with-a-brief-history/5188/2. 

External links