https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58224
--- Comment #3 from Vittorio Zecca <zeccav at gmail dot com> --- Still in trunk. The NAG nagfor compiler detects the issue at compile time. nagfor gfbug103.f NAG Fortran Compiler Release 7.0(Yurakucho) Build 7042 Warning: gfbug103.f, line 8: Pointer Q never dereferenced Error: gfbug103.f, line 8: ALLOCATABLE variable QQ used but never ALLOCATEd [NAG Fortran Compiler pass 1 error termination, 1 error, 1 warning]