public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/27896] New: inefficient lowering for return @ 2006-06-05 7:10 dann at godzilla dot ics dot uci dot edu 2006-06-09 7:32 ` [Bug middle-end/27896] " pinskia at gcc dot gnu dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: dann at godzilla dot ics dot uci dot edu @ 2006-06-05 7:10 UTC (permalink / raw) To: gcc-bugs The .lower dump for this code: int foo (void) { return 1;} looks like: foo () { goto <D1524>; <D1524>:; return 1; "goto" to the next line is useless, this just increases the memory usage and it needs extra work to be eliminated in a subsequent pass... -- Summary: inefficient lowering for return Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dann at godzilla dot ics dot uci dot edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27896 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/27896] inefficient lowering for return 2006-06-05 7:10 [Bug tree-optimization/27896] New: inefficient lowering for return dann at godzilla dot ics dot uci dot edu @ 2006-06-09 7:32 ` pinskia at gcc dot gnu dot org 2006-06-13 14:22 ` dann at godzilla dot ics dot uci dot edu 2010-02-24 16:34 ` [Bug middle-end/27896] lower-gimple produces extra goto for once return functions steven at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-06-09 7:32 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-09 07:25 ------- Confirmed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-06-09 07:25:35 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27896 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/27896] inefficient lowering for return 2006-06-05 7:10 [Bug tree-optimization/27896] New: inefficient lowering for return dann at godzilla dot ics dot uci dot edu 2006-06-09 7:32 ` [Bug middle-end/27896] " pinskia at gcc dot gnu dot org @ 2006-06-13 14:22 ` dann at godzilla dot ics dot uci dot edu 2010-02-24 16:34 ` [Bug middle-end/27896] lower-gimple produces extra goto for once return functions steven at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: dann at godzilla dot ics dot uci dot edu @ 2006-06-13 14:22 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from dann at godzilla dot ics dot uci dot edu 2006-06-13 14:18 ------- Add Diego to the CC list as per his request. -- dann at godzilla dot ics dot uci dot edu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dnovillo at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27896 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/27896] lower-gimple produces extra goto for once return functions 2006-06-05 7:10 [Bug tree-optimization/27896] New: inefficient lowering for return dann at godzilla dot ics dot uci dot edu 2006-06-09 7:32 ` [Bug middle-end/27896] " pinskia at gcc dot gnu dot org 2006-06-13 14:22 ` dann at godzilla dot ics dot uci dot edu @ 2010-02-24 16:34 ` steven at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: steven at gcc dot gnu dot org @ 2010-02-24 16:34 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from steven at gcc dot gnu dot org 2010-02-24 16:34 ------- Still a problem, actually worse now than before (.009t.lower dump at r156926): ;; Function foo (foo) foo () { int D.1974; D.1974 = 1; goto <D.1975>; <D.1975>: return D.1974; } The decomposition of "return 1" shows up already in the "004t.gimple" dump. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27896 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-02-24 16:34 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-06-05 7:10 [Bug tree-optimization/27896] New: inefficient lowering for return dann at godzilla dot ics dot uci dot edu 2006-06-09 7:32 ` [Bug middle-end/27896] " pinskia at gcc dot gnu dot org 2006-06-13 14:22 ` dann at godzilla dot ics dot uci dot edu 2010-02-24 16:34 ` [Bug middle-end/27896] lower-gimple produces extra goto for once return functions steven at gcc dot gnu dot 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).