[Bug c++/80061] error on constexpr function with an unevaluated throw
matthijsvanduin at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jul 21 06:14:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061
Matthijs van Duin <matthijsvanduin at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matthijsvanduin at gmail dot com
--- Comment #1 from Matthijs van Duin <matthijsvanduin at gmail dot com> ---
Simpler test case:
void foo( bool ok ) {
if( ok )
return;
throw;
}
fails to compile with g++ 6.3.0 and g++ 7.1.0
More information about the Gcc-bugs
mailing list