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

            Bug ID: 90490
           Summary: ICE on noexcept with decltype expression
           Product: gcc
           Version: 9.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dacamara.cameron at gmail dot com
  Target Milestone: ---

The following code causes ICE in 9.1 and above:


template <typename>
struct S {
  void g() noexcept(decltype(int{ }) { }) {
  }
};


This is a regression as gcc families below 9.1 can compile this.

Reply via email to