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