[Bug c++/110106] [11/12/13/14 Regression] ICE on noexcept(noexcept(...)) with optional

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 3 18:29:55 GMT 2023


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-06-03
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Slightly more reduced:
```
#include <optional>

struct g
{
  g(int);
};

void y(std::optional<int> z) noexcept(noexcept(g{z}));

```


More information about the Gcc-bugs mailing list