This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80061] error on constexpr function with an unevaluated throw
- From: "matthijsvanduin at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 21 Jul 2017 06:12:50 +0000
- Subject: [Bug c++/80061] error on constexpr function with an unevaluated throw
- Auto-submitted: auto-generated
- References: <bug-80061-4@http.gcc.gnu.org/bugzilla/>
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