public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/60661] DO CONCURRENT with MASK: Avoid using a temporary for the mask Date: Sun, 10 Aug 2014 15:50:00 -0000 [thread overview] Message-ID: <bug-60661-4-LWb9ktt7ie@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-60661-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60661 Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-08-10 Ever confirmed|0 |1 --- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- For do concurrent(i=1:n, a(i)>sum(a)/n) we currently evaluate the sum every time. This can definitely be improved, by taking out expressions which do not depend on the index variable out of the mask.
prev parent reply other threads:[~2014-08-10 15:50 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-03-25 22:52 [Bug fortran/60661] New: " burnus at gcc dot gnu.org 2014-03-25 23:00 ` [Bug fortran/60661] " burnus at gcc dot gnu.org 2014-03-27 6:54 ` burnus at gcc dot gnu.org 2014-03-30 22:20 ` tkoenig at gcc dot gnu.org 2014-08-10 15:50 ` tkoenig at gcc dot gnu.org [this message]
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-60661-4-LWb9ktt7ie@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).