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/41872] wrong-code: Issues with allocatable scalars
Date: Sun, 01 Nov 2009 17:47:00 -0000	[thread overview]
Message-ID: <20091101174702.10676.qmail@sourceware.org> (raw)
In-Reply-To: <bug-41872-13404@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from burnus at gcc dot gnu dot org  2009-11-01 17:47 -------
Subject: Bug 41872

Author: burnus
Date: Sun Nov  1 17:46:50 2009
New Revision: 153795

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153795
Log:
2009-11-01  Tobias Burnus  <burnus@net-b.de>                                    

        PR fortran/41872
        * trans-decl.c (gfc_trans_deferred_vars): Do not nullify
        autodeallocated allocatable scalars at the end of scope.
        (gfc_generate_function_code): Fix indention.
        * trans-expr.c (gfc_conv_procedure_call): For allocatable
        scalars, fix calling by reference and autodeallocating
        of intent out variables.

2009-11-01  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41872
        * gfortran.dg/allocatable_scalar_4.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/allocatable_scalar_4.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2009-11-01 17:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-29 21:58 [Bug fortran/41872] New: wrong-code: No auto-deallocation for INTENT(OUT) " burnus at gcc dot gnu dot org
2009-10-29 22:52 ` [Bug fortran/41872] " burnus at gcc dot gnu dot org
2009-10-30 22:26 ` burnus at gcc dot gnu dot org
2009-11-01 16:08 ` [Bug fortran/41872] wrong-code: Issues with " burnus at gcc dot gnu dot org
2009-11-01 17:47 ` burnus at gcc dot gnu dot org [this message]
2009-11-01 20:47 ` burnus at gcc dot gnu dot org
2009-12-15  3:02 ` jvdelisle at gcc dot gnu dot org
2009-12-30  0:20 ` burnus at gcc dot gnu dot org
2009-12-30 20:50 ` burnus at gcc dot gnu dot org
2010-01-04  7:31 ` burnus at gcc dot gnu dot org
2010-01-04  7:43 ` burnus at gcc dot gnu dot org
2010-01-05  7:19 ` burnus at gcc dot gnu dot org
2010-01-07  8:10 ` burnus at gcc dot gnu dot org
2010-01-07  8:12 ` burnus 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=20091101174702.10676.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).