[Bug fortran/57801] New: Waste work in resolve_variable()
pchang9 at cs dot wisc.edu
gcc-bugzilla@gcc.gnu.org
Wed Jul 3 16:20:00 GMT 2013
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".
More information about the Gcc-bugs
mailing list