public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/98016] New: Host association problem
@ 2020-11-26 12:23 juergen.reuter at desy dot de
  2020-11-26 13:02 ` [Bug fortran/98016] " tkoenig at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: juergen.reuter at desy dot de @ 2020-11-26 12:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98016
           Summary: Host association problem
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juergen.reuter at desy dot de
  Target Milestone: ---

Discussed on c.l.f. today, the following value from host association is falsely
rejected by gfortran, persistent since at least v4.8.5:
program p
  real :: y(3)
  n=3
  y = func(0.)
  stop
contains
  function func(x) result (y)
    real y(n)
    y=x
  end function func
end program p

Rejected with message:
8.11:

    real y(n)
           1
Error: Variable 'n' cannot appear in the expression at (1)

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-12-05 14:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-26 12:23 [Bug fortran/98016] New: Host association problem juergen.reuter at desy dot de
2020-11-26 13:02 ` [Bug fortran/98016] " tkoenig at gcc dot gnu.org
2020-11-26 14:43 ` juergen.reuter at desy dot de
2020-11-26 14:48 ` juergen.reuter at desy dot de
2020-11-26 15:13 ` dominiq at lps dot ens.fr
2020-11-26 17:33 ` kargl at gcc dot gnu.org
2020-11-29 16:08 ` pault at gcc dot gnu.org
2020-12-01 10:58 ` drikosev at gmail dot com
2020-12-03 13:34 ` pault at gcc dot gnu.org
2020-12-05 14:14 ` cvs-commit at gcc dot gnu.org
2020-12-05 14:16 ` pault at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).