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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
We now say:

56189.C: In instantiation of ‘void tt(T&, T&) [with T = int]’:
56189.C:10:42:   required from ‘void foo(T&, T&) [with T = int]’
56189.C:15:12:   required from here
56189.C:7:6: error: exception specification of ‘void tt(T&, T&) [with T = int]’
depends on itself
    7 | void tt(T& a, T& b) noexcept(noexcept(::test::tt(a,b)));
      |      ^~

but clang++/icc compile it.

Reply via email to