https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50402
--- Comment #9 from Vittorio Zecca <zeccav at gmail dot com> --- Still in current trunk. The compilers NAG nagfor and Intel ifort correctly detect a syntax error. nagfor -S -w gfbug43.f NAG Fortran Compiler Release 7.0(Yurakucho) Build 7042 Error: gfbug43.f, line 12: Scalar value for array pointer component P of type T [NAG Fortran Compiler error termination, 1 error] [vitti f95]$ifort -S -w gfbug43.f gfbug43.f(12): error #6594: The rank of a component in a structure constructor differs from the rank of the component of the derived type. [F] u=t(f()) ----------^ compilation aborted for gfbug43.f (code 1)