GNU Fortran

Fortran compiler


title: "GNU Fortran" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["fortran-compilers", "free-and-open-source-compilers", "gnu-project-software"] description: "Fortran compiler" topic_path: "technology/computing" source: "https://en.wikipedia.org/wiki/GNU_Fortran" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Fortran compiler ::

::data[format=table title="Infobox software"]

FieldValue
titleGNU Fortran
logoGNU Compiler Collection logo.svg
logo size100px
developerGNU Project
released
latest release version13.2
latest release date
programming languageC, C++
operating systemCross-platform
platformGNU
genreCompiler
licenseGNU General Public License (version 3 or later)
website
::

| name = | title = GNU Fortran | logo = GNU Compiler Collection logo.svg | logo size = 100px | logo caption = | screenshot = | caption = | collapsible = | author = | developer = GNU Project | released = | discontinued = | latest release version = 13.2 | latest release date = | programming language = C, C++ | operating system = Cross-platform | platform = GNU | size = | language = | genre = Compiler | license = GNU General Public License (version 3 or later) | alexa = | website = 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. It supports the OpenMP multi-platform shared memory multiprocessing, up to its latest version (4.5). GFortran is also compatible with most language extensions and compilation options supported by g77, and many other popular extensions of the Fortran language.

Since GCC version 4.0.0, released in April 2005, GFortran has replaced the older g77 compiler. The new Fortran front-end for GCC was rewritten from scratch, after the principal author and maintainer of g77, Craig Burley, decided in 2001 to stop working on the g77 front end. GFortran forked off from g95 in January 2003, which itself started in early 2000. The two codebases have "significantly diverged" according to GCC developers, and g95 has not been maintained 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. Development of the compiler by volunteer users continues and each new version of GCC incorporates better support for the latest language standards and bug fixes.

References

References

  1. "GCC Releases – GNU Project – Free Software Foundation (FSF)". GNU Project.
  2. "GCC 13 Release Series - GNU Project - Free Software Foundation (FSF)".
  3. "Chart of Fortran 2003 Features supported by GNU Fortran". [[GNU]].
  4. "Chart of Fortran 2008 Features supported by GNU Fortran". [[GNU]].
  5. "Parallel Computing in Fortran with OpenMP".
  6. "OpenMP (The GNU Fortran Compiler)".
  7. "Discussion of incompatibilities between g77 and gfortran". [[GNU]].
  8. "Extensions implemented in GNU Fortran (The GNU Fortran Compiler)".
  9. "GCC 4.0 Release Series - GNU Project".
  10. "GFORTRAN and G77 - the GNU Fortran 95 Compiler".
  11. "Why I'm Stopping My G77 Work".
  12. "The other GCC-based Fortran compiler". [[GNU]].
  13. "GCC allows C++ – to some degree - the H Open: News and Features".
  14. (2023-02-12). "Letter from GCC/gfortran contributor with a brief history".

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

fortran-compilersfree-and-open-source-compilersgnu-project-software