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/44541] [OOP] wrong code for polymorphic variable with INTENT(OUT)/Alloc w/ MOLD Date: Wed, 01 Sep 2010 20:51:00 -0000 [thread overview] Message-ID: <20100901205103.16780.qmail@sourceware.org> (raw) In-Reply-To: <bug-44541-13404@http.gcc.gnu.org/bugzilla/> ------- Comment #6 from janus at gcc dot gnu dot org 2010-09-01 20:51 ------- Subject: Bug 44541 Author: janus Date: Wed Sep 1 20:50:46 2010 New Revision: 163744 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163744 Log: 2010-09-01 Janus Weil <janus@gcc.gnu.org> PR fortran/44541 * class.c (gfc_find_derived_vtab): Add component '$def_init'. * resolve.c (resolve_allocate_expr): Defer handling of default initialization to 'gfc_trans_allocate'. (apply_default_init,resolve_symbol): Handle polymorphic dummies. (resolve_fl_derived): Suppress error messages for vtypes. * trans-stmt.c (gfc_trans_allocate): Handle initialization via polymorphic MOLD expression. * trans-expr.c (gfc_trans_class_init_assign): Now only used for dummy initialization. 2010-09-01 Janus Weil <janus@gcc.gnu.org> PR fortran/44541 * gfortran.dg/allocate_alloc_opt_10.f90: Extended. * gfortran.dg/class_dummy_1.f03: New. Added: trunk/gcc/testsuite/gfortran.dg/class_dummy_1.f03 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/class.c trunk/gcc/fortran/resolve.c trunk/gcc/fortran/trans-expr.c trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44541
next prev parent reply other threads:[~2010-09-01 20:51 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-06-15 7:45 [Bug fortran/44541] New: " burnus at gcc dot gnu dot org 2010-06-15 18:41 ` [Bug fortran/44541] " janus at gcc dot gnu dot org 2010-06-21 10:18 ` janus at gcc dot gnu dot org 2010-08-21 12:51 ` burnus at gcc dot gnu dot org 2010-08-21 15:14 ` janus at gcc dot gnu dot org 2010-08-29 21:10 ` janus at gcc dot gnu dot org 2010-09-01 20:51 ` janus at gcc dot gnu dot org [this message] 2010-09-01 21:25 ` burnus at gcc dot gnu dot org 2010-09-02 12:35 ` 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=20100901205103.16780.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).