Wikiwand AI

GNU Fortran

Fortran compiler From Wikipedia, the free encyclopedia

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.

ReleaseApril 20, 2005; 21 years ago (2005-04-20)[1]
Stable release
13.2[2][1] / 27 July 2023; 3 years ago (2023-07-27)
Written inC, C++
Quick facts Developer, Release ...
GNU Fortran
DeveloperGNU Project
ReleaseApril 20, 2005; 21 years ago (2005-04-20)[1]
Stable release
13.2[2][1] / 27 July 2023; 3 years ago (2023-07-27)
Written inC, C++
Operating systemCross-platform
PlatformGNU
TypeCompiler
LicenseGNU General Public License (version 3 or later)
Websitegcc.gnu.org/fortran/ Edit this at Wikidata
Repository
Close

History

As of August 2026, GFortran had almost fully implemented Fortran 2008, about 50% of Fortran 2018, as well as initial support for Fortran 2023.[3][4][5] It supports the OpenMP[6] multi-platform shared memory multiprocessing, up to its latest version (4.5)[7]. Since the release 16.1 in April 2026, GFortran supports natively coarrays using native shared memory mulithreading on single node machines and handles Fortran 2018's TEAM feature [8].

GFortran is also compatible with most language extensions and compilation options supported by g77,[9] and many other popular extensions of the Fortran language.[10]

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

See also

References

Related Articles

Timelines

Top Qs

Fact Checks