[Bug fortran/87336] [8/9 regression] wrong output for pointer dummy assiocated to target actual argument
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Mon Sep 17 19:53:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list