Chart of Fortran 2008 Features supported by GNU Fortran

When the question which Fortran 2003 features are implemented in which compiler, came up in comp.lang.fortran, the idea was born to create a chart of the features supported by the different compilers. The result was a list in Fortran Forum (see Fortran2003Status). With Fortran 2008 on the horizon, the list is being updated for Fortran 2008.

The listed items follow the sections in the following writeup:

The Fortran Forum articles:

A freely available version of the article can be found at:

Implemented 2008 feature in GNU Fortran compiler

Submodules

No, PR52846

Coarrays

Partial (4.6, April 2010: incomplete, for one image only)

Performance enhancements

do concurrent

Partial (2011-09-08) (type-spec support (and concurrency) missing; PR44735)

Contiguous attribute

Yes (2010-06-21)

Simply contiguous arrays

Yes (rather a new concept/definition than a new feature thus 'yes'. gfortran uses since many versions similar checks to avoid copy-in/out; it is also used internally for constraint checking such as for CONTIGUOUS; note: the is_contiguous intrinsic is still missing)

Data enhancements

Maximum rank

No, PR36825, cf. array descriptor update

Long integers

Yes

Allocatable components

No, PR45516

Implied-shape array

Yes (2010-08-13)

Pointer initialization

Yes (since 4.6, 2011-02-08, PR45290)

Kind of a forall index

No (cf. PR44735)

Allocating a polymorphic variable

Partial (2010-06-15), PR43366

Accessing data objects

Accessing real and imaginary parts

No

Pointer functions as lvalue

Partial (2010-10-21), PR40054

Input/Output

Finding a unit when opening a file

Yes (2009-06-08)

g0 edit descriptor

Yes

Unlimited format item

Yes (2009-08-17)

Recursive input/output

Yes

Execution control

The block construct

Yes (2009-09-29), but as experimental with some details missing

Exit statement

Yes (2010-09-03)

Stop code

Yes (2010-06)

Intrinsic procedures for bit processsing

Bit sequence comparison

Yes (since 2010-09-08)

Combined shifting

Yes (since 2010-09-08)

Counting bits

Yes (since 2010-08-31; leadz/tailz since GCC 4.4)

Masking bits

Yes (since 2010-09-08)

Shifting bits

Yes (since 2010-09-08)

Merging bits

Yes (since 2010-09-08)

Bit transformational functions

Yes (since 2010-09-06)

Intrinsic procedures and modules

Storage size

Yes (since 2010-07-08)

Selecting a real kind

Partial (2010-05-25, not idee_selected_real_kind)

Hyperbolic intrinsic functions

Yes (since 4.5)

Bessel functions

Yes (since 2010-08-21, the elemental functions since GCC 4.4)

Arc tangent function

Yes (since 4.5)

Error and gamma functions

Yes (since 2009-05-16 including ERFC_SCALED in initialization expressions)

Euclidean vector norm

Yes (since 2010-08-27)

Parity

Yes (since 2010-08-27)

Execute command line

Yes (since 2010-09-01)

Location of maximum or minimum value in an array

No

Find location in an array

No

Constants

Yes (since 2011-06-16)

Module procedures

Yes (since 2010-09-27)

Programs and procedures

Empty contains section

Yes

Internal procedure as an actual argument

Yes (2010-09-03)

Generic resolution by pointer or allocatable attribute

Yes (since 4.8, 2012-10-06, PR45521)

Null pointer as a missing dummy argument

Yes (since 2010-08-15)

Elemental procedures that are not pure

Yes (since 2010-08-15)

Entry statement becomes obsolescent

Yes (since 2010-06-25)

Unimplemented features -- based on the list in the "Introduction" of the F2008 standard

There is a large overlap with the No items in the table above.

None: Fortran2008Status (last edited 2012-12-18 10:33:08 by TobiasBurnus)