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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-02-26
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, reduced further:
```
template<bool yes_or_no>
constexpr void test() {
    constexpr bool is_yes = yes_or_no;
    struct S
    {
        constexpr S() noexcept(is_yes){}
    };
    S s;
}
int main()
{
    test<true>();
}
```

Reply via email to