public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug rtl-optimization/57812] New: Waste work in computed_jump_p() @ 2013-07-03 19:13 pchang9 at cs dot wisc.edu 2013-07-03 20:27 ` [Bug rtl-optimization/57812] Wasted " pchang9 at cs dot wisc.edu ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: pchang9 at cs dot wisc.edu @ 2013-07-03 19:13 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57812 Bug ID: 57812 Summary: Waste work in computed_jump_p() Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization 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 "computed_jump_p()" in gcc/rtlanal.c, the loop on line 2801 should break immediately after "has_use_labelref" is set to "1". All the iterations after "has_use_labelref" set to "1" do not perform any useful work, at best they just set "has_use_labelref" again to "1". ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/57812] Wasted work in computed_jump_p() 2013-07-03 19:13 [Bug rtl-optimization/57812] New: Waste work in computed_jump_p() pchang9 at cs dot wisc.edu @ 2013-07-03 20:27 ` pchang9 at cs dot wisc.edu 2013-07-03 20:39 ` pchang9 at cs dot wisc.edu ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: pchang9 at cs dot wisc.edu @ 2013-07-03 20:27 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57812 --- Comment #1 from Po-Chun Chang <pchang9 at cs dot wisc.edu> --- Created attachment 30441 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30441&action=edit Suggested patch ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/57812] Wasted work in computed_jump_p() 2013-07-03 19:13 [Bug rtl-optimization/57812] New: Waste work in computed_jump_p() pchang9 at cs dot wisc.edu 2013-07-03 20:27 ` [Bug rtl-optimization/57812] Wasted " pchang9 at cs dot wisc.edu @ 2013-07-03 20:39 ` pchang9 at cs dot wisc.edu 2013-07-22 16:50 ` pchang9 at cs dot wisc.edu 2021-09-12 21:35 ` pinskia at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: pchang9 at cs dot wisc.edu @ 2013-07-03 20:39 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57812 --- Comment #2 from Po-Chun Chang <pchang9 at cs dot wisc.edu> --- Created attachment 30443 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30443&action=edit Suggested patch ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/57812] Wasted work in computed_jump_p() 2013-07-03 19:13 [Bug rtl-optimization/57812] New: Waste work in computed_jump_p() pchang9 at cs dot wisc.edu 2013-07-03 20:27 ` [Bug rtl-optimization/57812] Wasted " pchang9 at cs dot wisc.edu 2013-07-03 20:39 ` pchang9 at cs dot wisc.edu @ 2013-07-22 16:50 ` pchang9 at cs dot wisc.edu 2021-09-12 21:35 ` pinskia at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: pchang9 at cs dot wisc.edu @ 2013-07-22 16:50 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57812 --- Comment #3 from Po-Chun Chang <pchang9 at cs dot wisc.edu> --- Patch sent to gcc-patches@ http://gcc.gnu.org/ml/gcc-patches/2013-07/msg00931.html ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/57812] Wasted work in computed_jump_p() 2013-07-03 19:13 [Bug rtl-optimization/57812] New: Waste work in computed_jump_p() pchang9 at cs dot wisc.edu ` (2 preceding siblings ...) 2013-07-22 16:50 ` pchang9 at cs dot wisc.edu @ 2021-09-12 21:35 ` pinskia at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-09-12 21:35 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57812 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Target Milestone|--- |4.9.0 Keywords| |compile-time-hog --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Patch was committed at r0-124417 so fixed. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-09-12 21:35 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-07-03 19:13 [Bug rtl-optimization/57812] New: Waste work in computed_jump_p() pchang9 at cs dot wisc.edu 2013-07-03 20:27 ` [Bug rtl-optimization/57812] Wasted " pchang9 at cs dot wisc.edu 2013-07-03 20:39 ` pchang9 at cs dot wisc.edu 2013-07-22 16:50 ` pchang9 at cs dot wisc.edu 2021-09-12 21:35 ` pinskia at gcc dot gnu.org
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).