https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107503

            Bug ID: 107503
           Summary: tail call missed with struct wrapper
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

Take:
int *g();
f h()
{
    return {g()};
}

f should tail call to g but currently does not.

Reply via email to