public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/56968] New: Issue with a procedure defined with a generic name returning procedure pointer
@ 2013-04-15 14:07 samuel.debionne@ujf-grenoble.fr
  2013-04-15 14:44 ` [Bug fortran/56968] [F03] " janus at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: samuel.debionne@ujf-grenoble.fr @ 2013-04-15 14:07 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56968

             Bug #: 56968
           Summary: Issue with a procedure defined with a generic name
                    returning procedure pointer
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: samuel.debionne@ujf-grenoble.fr


Created attachment 29875
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29875
Test case that shows the bug

In short, a genericly named procedure fails to return a procedure pointer :

    ptr => specific_name_get_proc_ptr()    ! OK
    ptr => generic_name_get_proc_ptr()  ! KO
           1
Error: Interface mismatch in procedure pointer assignment at (1):
Type/rank mismatch in return value of 'generic_name_get_proc_ptr'

Attached is a test case that show the problem with gfortran 4.7, 4.8 and
trunk.

See http://gcc.gnu.org/ml/fortran/2013-04/msg00151.html for the complete story.


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

end of thread, other threads:[~2013-04-26 22:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15 14:07 [Bug fortran/56968] New: Issue with a procedure defined with a generic name returning procedure pointer samuel.debionne@ujf-grenoble.fr
2013-04-15 14:44 ` [Bug fortran/56968] [F03] " janus at gcc dot gnu.org
2013-04-15 15:02 ` dominiq at lps dot ens.fr
2013-04-15 17:15 ` [Bug fortran/56968] [4.7/4.8/4.9 Regression] " janus at gcc dot gnu.org
2013-04-15 17:16 ` janus at gcc dot gnu.org
2013-04-15 17:36 ` burnus at gcc dot gnu.org
2013-04-15 18:35 ` janus at gcc dot gnu.org
2013-04-16  8:50 ` janus at gcc dot gnu.org
2013-04-16  8:54 ` burnus at gcc dot gnu.org
2013-04-16 19:14 ` janus at gcc dot gnu.org
2013-04-26 19:31 ` janus at gcc dot gnu.org
2013-04-26 22:30 ` janus 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).