public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mikael at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45648] [4.6 regression] Unnecessary temporary for transpose calls as actual argument. Date: Tue, 21 Sep 2010 19:04:00 -0000 [thread overview] Message-ID: <20100921190428.3800.qmail@sourceware.org> (raw) In-Reply-To: <bug-45648-16888@http.gcc.gnu.org/bugzilla/> ------- Comment #7 from mikael at gcc dot gnu dot org 2010-09-21 19:04 ------- Subject: Bug 45648 Author: mikael Date: Tue Sep 21 19:04:09 2010 New Revision: 164494 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164494 Log: 2010-09-21 Mikael Morin <mikael@gcc.gnu.org> PR fortran/45648 * trans-array.c (gfc_conv_expr_descriptor): Calculate dim out of n and info->dim. PR fortran/45648 * trans-array.c (gfc_conv_expr_descriptor): Unset full if we are accessing dimensions in reversed order. PR fortran/45648 * trans-array.c (gfc_conv_expr_descriptor): Special case noncopying intrinsic function call. * trans-array.c (gfc_conv_expr_descriptor): Remove ss lookup. Update asserts accordingly. PR fortran/45648 * trans.h (gfc_se): New field force_tmp. * trans-expr.c (gfc_conv_procedure_call): Check for argument alias and set parmse.force_tmp if some alias is found. * trans-array.c (gfc_conv_expr_descriptor): Force a temporary creation if se->force_tmp is set. 2010-09-21 Mikael Morin <mikael@gcc.gnu.org> PR fortran/45648 * gfortran.dg/inline_transpose_1.f90: Update temporary's locations and counts. Add non-elemental function call check. PR fortran/45648 * gfortran.dg/inline_transpose_1.f90: Add function calls with aliasing arguments checks. Update temporary counts. * gfortran.dg/transpose_optimization_1.f90: New. Added: trunk/gcc/testsuite/gfortran.dg/transpose_optimization_1.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-expr.c trunk/gcc/fortran/trans.h trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/inline_transpose_1.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45648
next prev parent reply other threads:[~2010-09-21 19:04 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-09-11 10:07 [Bug fortran/45648] New: " mikael at gcc dot gnu dot org 2010-09-11 10:07 ` [Bug fortran/45648] " mikael at gcc dot gnu dot org 2010-09-11 16:33 ` mikael at gcc dot gnu dot org 2010-09-11 17:02 ` mikael at gcc dot gnu dot org 2010-09-20 20:01 ` pthaugen at gcc dot gnu dot org 2010-09-20 20:46 ` pthaugen at gcc dot gnu dot org 2010-09-20 22:26 ` mikael at gcc dot gnu dot org 2010-09-20 22:29 ` mikael at gcc dot gnu dot org 2010-09-21 19:04 ` mikael at gcc dot gnu dot org [this message] 2010-09-23 11:11 ` mikael at gcc dot gnu dot org 2010-09-23 14:14 ` mikael 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=20100921190428.3800.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).