Re: C++ PATCH for c++/69300, ICE with self-referential noexcept

2017-06-29 Thread Jason Merrill
On Wed, Jun 28, 2017 at 5:11 PM, Marc Glisse wrote: > On Wed, 28 Jun 2017, Jason Merrill wrote: > >> In the testcase we SEGV due to infinite recursion because the >> noexcept-specifier of f depends on itself. Fixed by keeping track of >> which functions we're currently trying to instantiate noexc

Re: C++ PATCH for c++/69300, ICE with self-referential noexcept

2017-06-28 Thread Marc Glisse
On Wed, 28 Jun 2017, Jason Merrill wrote: In the testcase we SEGV due to infinite recursion because the noexcept-specifier of f depends on itself. Fixed by keeping track of which functions we're currently trying to instantiate noexcept for. Hello, in the testcase, it makes sense that this is

C++ PATCH for c++/69300, ICE with self-referential noexcept

2017-06-28 Thread Jason Merrill
In the testcase we SEGV due to infinite recursion because the noexcept-specifier of f depends on itself. Fixed by keeping track of which functions we're currently trying to instantiate noexcept for. Tested x86_64-pc-linux-gnu, applying to trunk. commit 7a938fed4c07c7e28008b56e6bac05376b1f99fa Aut