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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-12-27
            Summary|[11/12/13/14 Regression]    |[11/12/13/14 Regression]
                   |Erroneous "looser exception |Erroneous "looser exception
                   |specification" error for    |specification" error for
                   |class template              |class template and depedent
                   |                            |noexcept value

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

Reduced testcase:
```
template<typename T>
struct V {
  static constexpr bool t = false;
};
struct base {
    virtual int f() = 0;
};

template<typename T>
struct derived : base {
    int f() noexcept(V<T>::t) override;
};
```

Reply via email to