[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug c++/97966] [10/11 Regression] maybe_instantiate_noexcept
From:       "mpolacek at gcc dot gnu.org via Gcc-bugs" <gcc-bugs () gcc ! gnu ! org>
Date:       2020-11-30 18:56:12
Message-ID: bug-97966-4-Uech7bHNdg () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Reduced (but invalid?):

// PR c++/97966

template <int>
struct S {
  __attribute__((used)) S() noexcept(noexcept(this->foo()));
  void foo();
};

void
g ()
{
  S<1> s;
}=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic