public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/51514] [OOP] Wrong code when passing a scalar CLASS to a TYPE Date: Mon, 06 Feb 2012 14:04:00 -0000 [thread overview] Message-ID: <bug-51514-4-ghtBSyCc53@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-51514-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51514 --- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-06 14:04:29 UTC --- Created attachment 26583 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26583 Completely untested/not compiled draft patch The attached patch is completely untested. It additionally contains some - also untested - fixes for polymophic coarrays. Variant: subroutine subpr2(x) type(foo) :: x print *,x%i if (x%i /= 55) call abort () end subroutine function f() class(foo), allocatable :: f allocate (f) f%i = 55 end function f with call subpr(f())
next prev parent reply other threads:[~2012-02-06 14:04 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-12-12 14:57 [Bug fortran/51514] New: [OOP] Wrong code when passing a " burnus at gcc dot gnu.org 2012-02-03 14:25 ` [Bug fortran/51514] " burnus at gcc dot gnu.org 2012-02-03 14:29 ` dominiq at lps dot ens.fr 2012-02-03 15:09 ` burnus at gcc dot gnu.org 2012-02-06 11:05 ` [Bug fortran/51514] [OOP] Wrong code when passing a scalar " burnus at gcc dot gnu.org 2012-02-06 14:04 ` burnus at gcc dot gnu.org [this message] 2012-02-07 8:15 ` burnus at gcc dot gnu.org 2012-02-07 8:16 ` burnus 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-51514-4-ghtBSyCc53@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).