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

            Bug ID: 119619
           Summary: fdump-passes says musttail pass is off when a function
                    with musttail exists
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

Take:
```
int f() ;
struct A{ ~A(); };
int g()
{
  A a;
  [[clang::musttail]]  return f();
}

```

Compile with `-O0 -fdump-passes` and grep for musttail and you get:
   tree-musttail                                       :  OFF

This confuses compiler explorer and not have an option for musttail.

Reply via email to