public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "burnus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45366] Problem with abstract interface to PURE function Date: Sun, 22 Aug 2010 11:02:00 -0000 [thread overview] Message-ID: <20100822110224.17851.qmail@sourceware.org> (raw) In-Reply-To: <bug-45366-17129@http.gcc.gnu.org/bugzilla/> ------- Comment #2 from burnus at gcc dot gnu dot org 2010-08-22 11:02 ------- Note: The ABSTRACT, the INTERFACE (vs. host-association), and the use-association of i_f do not seem to play a role. In particular for p: sym->attr.pure == 0 sym->attr.proc_pointer == 1 sym->ts.interface->attr.pure == 1 The problems seems to be that resolve_symbol is called later than the resolve_formal_arglist check for pureness, i.e. one first checks whether "p" is pure before one copies the attr.pure from ts.interface->attr.pure - which explains the failure. I leave the fixing to Janus. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45366
next prev parent reply other threads:[~2010-08-22 11:02 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-08-21 12:30 [Bug fortran/45366] New: " mrestelli at gmail dot com 2010-08-22 10:50 ` [Bug fortran/45366] " janus at gcc dot gnu dot org 2010-08-22 11:02 ` burnus at gcc dot gnu dot org [this message] 2010-08-22 11:10 ` janus at gcc dot gnu dot org 2010-08-23 12:27 ` [Bug fortran/45366] Problem with procedure pointer dummy in " janus at gcc dot gnu dot org 2010-08-23 12:29 ` janus at gcc dot gnu dot 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=20100822110224.17851.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: 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).