public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mikael at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/57048] [4.9 Regression] Handling of C_PTR and C_FUNPTR leads to reject valid Date: Sun, 26 Jan 2014 17:21:00 -0000 [thread overview] Message-ID: <bug-57048-4-LpTV4uza2U@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-57048-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57048 Mikael Morin <mikael at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael at gcc dot gnu.org --- Comment #2 from Mikael Morin <mikael at gcc dot gnu.org> --- This fixes this case; However, it is not free of regressions. diff --git a/gcc/fortran/trans-types.c b/gcc/fortran/trans-types.c index adc34dd..24ceaea 100644 --- a/gcc/fortran/trans-types.c +++ b/gcc/fortran/trans-types.c @@ -2366,8 +2366,6 @@ gfc_get_derived_type (gfc_symbol * derived) else derived->backend_decl = pfunc_type_node; - derived->ts.kind = gfc_index_integer_kind; - derived->ts.type = BT_INTEGER; /* Set the f90_type to BT_VOID as a way to recognize something of type BT_INTEGER that needs to fit a void * for the purpose of the iso_c_binding derived types. */
next prev parent reply other threads:[~2014-01-26 17:21 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-04-23 13:02 [Bug fortran/57048] New: " burnus at gcc dot gnu.org 2013-04-23 13:02 ` [Bug fortran/57048] " burnus at gcc dot gnu.org 2013-10-30 11:38 ` rguenth at gcc dot gnu.org 2013-11-23 13:33 ` dominiq at lps dot ens.fr 2014-01-26 17:21 ` mikael at gcc dot gnu.org [this message] 2014-01-26 17:23 ` mikael at gcc dot gnu.org 2014-04-22 11:37 ` [Bug fortran/57048] [4.9/4.10 " jakub at gcc dot gnu.org 2014-07-16 13:31 ` jakub at gcc dot gnu.org 2014-10-30 10:42 ` [Bug fortran/57048] [4.9/5 " jakub at gcc dot gnu.org 2015-06-26 20:09 ` [Bug fortran/57048] [4.9/5/6 " jakub at gcc dot gnu.org 2015-06-26 20:35 ` jakub at gcc dot gnu.org
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=bug-57048-4-LpTV4uza2U@http.gcc.gnu.org/bugzilla/ \ --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: linkBe 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).