public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pchang9 at cs dot wisc.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57801] New: Waste work in resolve_variable()
Date: Wed, 03 Jul 2013 16:20:00 -0000	[thread overview]
Message-ID: <bug-57801-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 57801
           Summary: Waste work in resolve_variable()
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pchang9 at cs dot wisc.edu
                CC: nistor1 at illinois dot edu

The problem appears in revision 200588 in version 4.9.

In method "resolve_variable()" in gcc/fortran/resolve.c, the loop on line 4908
should break immediately after "seen" is set to "true". All the iterations
after "seen" set to "true" do not perform any useful work, at best they just
set "seen" again to "true".


             reply	other threads:[~2013-07-03 16:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 16:20 pchang9 at cs dot wisc.edu [this message]
2013-07-03 20:12 ` [Bug fortran/57801] Wasted " pchang9 at cs dot wisc.edu
2013-07-23 21:45 ` pchang9 at cs dot wisc.edu
2013-07-29 19:09 ` law at redhat dot com

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-57801-4@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: 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).