[Bug fortran/85510] Linking error when accessing a coindexed variable inside an associate block

damian at sourceryinstitute dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 23 21:46:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85510

--- Comment #1 from Damian Rouson <damian at sourceryinstitute dot org> ---
As similar error message results if the associate construct is replaced with a
block construct of the form

    block
      integer n
      n=1
      print*,i[1]
    end block

The error disappears if the 'block' and 'end block' statements are deleted.


More information about the Gcc-bugs mailing list