public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/114438] New: Missed constraint F2023:c7108
@ 2024-03-22 23:13 kargl at gcc dot gnu.org
  2024-03-22 23:14 ` [Bug fortran/114438] " kargl at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: kargl at gcc dot gnu.org @ 2024-03-22 23:13 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114438
           Summary: Missed constraint F2023:c7108
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kargl at gcc dot gnu.org
  Target Milestone: ---

Created attachment 57785
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57785&action=edit
Fortran 2023:C7108 violation

Gfortran does not diagnosis F2023:C7108.

  C7108 (R756) If derived-type-spec is a type name that is the same as a
generic
  name, the component-spec-list shall not be a valid actual-arg-spec-list for a
  function reference that is resolvable as a generic reference to that name
(15.5.5.2).

The attached program compiles and execute where the generic function is 
resolved to a function.

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

end of thread, other threads:[~2024-03-24  2:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-22 23:13 [Bug fortran/114438] New: Missed constraint F2023:c7108 kargl at gcc dot gnu.org
2024-03-22 23:14 ` [Bug fortran/114438] " kargl at gcc dot gnu.org
2024-03-23 19:36 ` anlauf at gcc dot gnu.org
2024-03-23 19:56 ` kargl at gcc dot gnu.org
2024-03-23 20:11 ` anlauf at gcc dot gnu.org
2024-03-23 20:53 ` kargl at gcc dot gnu.org
2024-03-23 21:15 ` kargl at gcc dot gnu.org
2024-03-24  2:49 ` kargl 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).