https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87336
Harald Anlauf <anlauf at gmx dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #1 from Harald Anlauf <anlauf at gmx dot de> --- (In reply to Jürgen Reuter from comment #0) > Discussed on c.l.f. Sep. 16, 2018. https://groups.google.com/forum/?hl=en#!topic/comp.lang.fortran/qhiZMe0snPQ Replacing integer, target :: a( 2:4 ) by integer, pointer :: a(:) allocate (a( 2:4 )) "fixes" the issue.