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

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).