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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-04-13
           Keywords|                            |link-failure, rejects-valid
      Known to work|                            |12.2.0
   Target Milestone|---                         |13.0
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. This is also a link failure issue:
Take:
```
template <int>
struct foo {
  foo() {};
};
template <int> class bar {
  foo<2> alloc_{};
};
template <int>
void func1() {
  bar<1>();
}
void func2() {
  func1<2>();
}
int main()
{
        func2();
}
```
This should link and it currently fails for the same reason as the
always_inline too.

Reply via email to