public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pault at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/36933] unneeded temporary with derived type containing an array as argument Date: Sat, 20 Feb 2010 12:48:00 -0000 [thread overview] Message-ID: <20100220124710.28173.qmail@sourceware.org> (raw) In-Reply-To: <bug-36933-6642@http.gcc.gnu.org/bugzilla/> ------- Comment #8 from pault at gcc dot gnu dot org 2010-02-20 12:47 ------- Subject: Bug 36933 Author: pault Date: Sat Feb 20 12:46:43 2010 New Revision: 156926 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156926 Log: 2010-02-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/36932 PR fortran/36933 PR fortran/43072 PR fortran/43111 * dependency.c (gfc_check_argument_var_dependency): Use enum value instead of arithmetic vaue for 'elemental'. (check_data_pointer_types): New function. (gfc_check_dependency): Call check_data_pointer_types. * trans-array.h : Change fourth argument of gfc_conv_array_parameter to boolean. * trans-array.c (gfc_conv_array_parameter): A contiguous array can be a dummy but it must not be assumed shape or deferred. Change fourth argument to boolean. Array constructor exprs will always be contiguous and do not need packing and unpacking. * trans-expr.c (gfc_conv_procedure_call): Clean up some white space and change fourth argument of gfc_conv_array_parameter to boolean. (gfc_trans_arrayfunc_assign): Change fourth argument of gfc_conv_array_parameter to boolean. * trans-io.c (gfc_convert_array_to_string): The same. * trans-intrinsic.c (gfc_conv_intrinsic_loc): The same. 2010-02-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/36932 PR fortran/36933 * gfortran.dg/dependency_26.f90: New test. PR fortran/43072 * gfortran.dg/internal_pack_7.f90: New test. PR fortran/43111 * gfortran.dg/internal_pack_8.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/dependency_26.f90 trunk/gcc/testsuite/gfortran.dg/internal_pack_7.f90 trunk/gcc/testsuite/gfortran.dg/internal_pack_8.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/dependency.c trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-array.h trunk/gcc/fortran/trans-expr.c trunk/gcc/fortran/trans-intrinsic.c trunk/gcc/fortran/trans-io.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36933
next prev parent reply other threads:[~2010-02-20 12:47 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-07-25 11:01 [Bug fortran/36933] New: unneeded temporary jv244 at cam dot ac dot uk 2008-07-25 13:07 ` [Bug fortran/36933] " tkoenig at gcc dot gnu dot org 2008-07-28 10:39 ` [Bug fortran/36933] unneeded temporary with derived type containing an array as argument tkoenig at gcc dot gnu dot org 2008-08-17 0:07 ` pinskia at gcc dot gnu dot org 2008-11-14 8:36 ` jv244 at cam dot ac dot uk 2009-08-19 6:38 ` jv244 at cam dot ac dot uk 2010-02-10 9:04 ` jv244 at cam dot ac dot uk 2010-02-10 9:30 ` jv244 at cam dot ac dot uk 2010-02-19 21:21 ` burnus at gcc dot gnu dot org 2010-02-20 12:48 ` pault at gcc dot gnu dot org [this message] 2010-02-21 14:11 ` jv244 at cam dot ac dot uk [not found] <bug-36933-4@http.gcc.gnu.org/bugzilla/> 2013-03-29 10:20 ` Joost.VandeVondele at mat dot ethz.ch
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=20100220124710.28173.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).