public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/98445] New: Bogus error: derived type used as an actual argument
@ 2020-12-25 21:24 townsend at astro dot wisc.edu
  2020-12-26 11:01 ` [Bug fortran/98445] " anlauf at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: townsend at astro dot wisc.edu @ 2020-12-25 21:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98445
           Summary: Bogus error: derived type used as an actual argument
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: townsend at astro dot wisc.edu
  Target Milestone: ---

Created attachment 49844
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49844&action=edit
Minimal working example

I'm running into what I believe to be a bogus error, when passing a function
that (via interface overloading) has the same name as a derived type.

Attached is a MWE. When compiled, I get the error

passed_procedure_bug.f90:30:11:

   30 |     call s(t)
      |           1
Error: Derived type 't' is used as an actual argument at (1)

cheers,

Rich

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

end of thread, other threads:[~2020-12-27 21:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-25 21:24 [Bug fortran/98445] New: Bogus error: derived type used as an actual argument townsend at astro dot wisc.edu
2020-12-26 11:01 ` [Bug fortran/98445] " anlauf at gcc dot gnu.org
2020-12-26 20:13 ` townsend at astro dot wisc.edu
2020-12-27 19:56 ` townsend at astro dot wisc.edu
2020-12-27 21:56 ` anlauf 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).