[Bug c++/69300] g++ segfault on silly noexcept case
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 18 09:58:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69300
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-01-18
Ever confirmed|0 |1
Known to fail| |5.3.0, 6.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. Rejected by 4.9.
t.C: In function ‘int main(int, char**)’:
t.C:8:26: error: cannot resolve overloaded function ‘f’ based on conversion to
type ‘bool’
F<void>().f<int>();
^
t.C: In instantiation of ‘void F<A>::f() && [with B = int; A = void]’:
t.C:8:26: required from here
t.C:4:19: error: cannot resolve overloaded function ‘f’ based on conversion to
type ‘bool’
void f() && noexcept(&F::template f<B>) {}
^
More information about the Gcc-bugs
mailing list