[Bug tree-optimization/27896] New: inefficient lowering for return

dann at godzilla dot ics dot uci dot edu gcc-bugzilla@gcc.gnu.org
Mon Jun 5 07:10:00 GMT 2006


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



More information about the Gcc-bugs mailing list