public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/32580] iso_c_binding c_f_procpointer / procedure pointers
Date: Wed, 02 Jul 2008 19:55:00 -0000	[thread overview]
Message-ID: <20080702195431.26960.qmail@sourceware.org> (raw)
In-Reply-To: <bug-32580-6642@http.gcc.gnu.org/bugzilla/>



------- Comment #12 from janus at gcc dot gnu dot org  2008-07-02 19:54 -------
Subject: Bug 32580

Author: janus
Date: Wed Jul  2 19:53:37 2008
New Revision: 137386

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137386
Log:
2008-07-02  Janus Weil  <janus@gcc.gnu.org>
            Tobias Burnus  <burnus@net-b.de>
            Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/32580
        * gfortran.h (struct gfc_symbol): New member "proc_pointer".
        * check.c (gfc_check_associated,gfc_check_null): Implement
        procedure pointers.
        * decl.c (match_procedure_decl): Ditto.
        * expr.c (gfc_check_pointer_assign,gfc_check_assign_symbol): Ditto.
        * interface.c (compare_actual_formal): Ditto.
        * match.h: Ditto.
        * match.c (gfc_match_pointer_assignment): Ditto.
        * parse.c (parse_interface): Ditto.
        * primary.c (gfc_match_rvalue,match_variable): Ditto.
        * resolve.c (resolve_fl_procedure): Ditto.
        * symbol.c (check_conflict,gfc_add_external,gfc_add_pointer,
        gfc_copy_attr,gen_fptr_param,build_formal_args): Ditto.
        * trans-decl.c (get_proc_pointer_decl,gfc_get_extern_function_decl,
        create_function_arglist): Ditto.
        * trans-expr.c (gfc_conv_variable,gfc_conv_function_val,
        gfc_conv_function_call,gfc_trans_pointer_assignment): Ditto.


2008-07-02  Janus Weil  <janus@gcc.gnu.org>
            Tobias Burnus  <burnus@net-b.de>

        PR fortran/32580
        * gfortran.dg/c_f_pointer_tests_3.f90: Updated.
        * gfortran.dg/proc_decl_1.f90: Updated.
        * gfortran.dg/proc_ptr_1.f90: New.
        * gfortran.dg/proc_ptr_2.f90: New.
        * gfortran.dg/proc_ptr_3.f90: New.
        * gfortran.dg/proc_ptr_4.f90: New.
        * gfortran.dg/proc_ptr_5.f90: New.
        * gfortran.dg/proc_ptr_6.f90: New.
        * gfortran.dg/proc_ptr_7.f90: New.
        * gfortran.dg/proc_ptr_8.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_1.f90   (with props)
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_2.f90   (with props)
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_3.f90   (with props)
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_4.f90   (with props)
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_5.f90   (with props)
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_6.f90   (with props)
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_7.c
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_7.f90
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_8.c
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_8.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/check.c
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/interface.c
    trunk/gcc/fortran/match.c
    trunk/gcc/fortran/match.h
    trunk/gcc/fortran/parse.c
    trunk/gcc/fortran/primary.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/symbol.c
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/c_f_pointer_tests_3.f90
    trunk/gcc/testsuite/gfortran.dg/proc_decl_1.f90

Propchange: trunk/gcc/testsuite/gfortran.dg/proc_ptr_1.f90
            ('svn:executable' added)

Propchange: trunk/gcc/testsuite/gfortran.dg/proc_ptr_2.f90
            ('svn:executable' added)

Propchange: trunk/gcc/testsuite/gfortran.dg/proc_ptr_3.f90
            ('svn:executable' added)

Propchange: trunk/gcc/testsuite/gfortran.dg/proc_ptr_4.f90
            ('svn:executable' added)

Propchange: trunk/gcc/testsuite/gfortran.dg/proc_ptr_5.f90
            ('svn:executable' added)

Propchange: trunk/gcc/testsuite/gfortran.dg/proc_ptr_6.f90
            ('svn:executable' added)


-- 


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


  parent reply	other threads:[~2008-07-02 19:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-02  7:20 [Bug fortran/32580] New: iso_c_binding c_f_procpointer jv244 at cam dot ac dot uk
2007-07-02  7:37 ` [Bug fortran/32580] " jv244 at cam dot ac dot uk
2007-07-02 14:57 ` kargl at gcc dot gnu dot org
2007-07-04 18:29 ` [Bug fortran/32580] iso_c_binding c_f_procpointer / procedure pointers burnus at gcc dot gnu dot org
2007-10-16  4:32 ` jv244 at cam dot ac dot uk
2007-10-16  6:46 ` burnus at gcc dot gnu dot org
2007-10-16  8:31 ` jv244 at cam dot ac dot uk
2007-10-16 11:26 ` burnus at gcc dot gnu dot org
2008-05-24 17:52 ` jaydub66 at gmail dot com
2008-05-25 12:14 ` jv244 at cam dot ac dot uk
2008-05-29 11:29 ` burnus at gcc dot gnu dot org
2008-06-02 15:33 ` burnus at gcc dot gnu dot org
2008-07-02 19:55 ` janus at gcc dot gnu dot org [this message]
2008-07-02 20:20 ` janus at gcc dot gnu dot org
2008-07-02 20:20 ` janus at gcc dot gnu dot org
2008-07-03 13:44 ` jv244 at cam dot ac dot uk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080702195431.26960.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).