[Bug c++/80061] error on constexpr function with an unevaluated throw

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061

Andrew Pinski  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=86678
   Target Milestone|--- |9.0

--- Comment #8 from Andrew Pinski  ---
Fixed.

[Bug c++/80061] error on constexpr function with an unevaluated throw

2019-08-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061

Marek Polacek  changed:

   What|Removed |Added

 CC||mpolacek at gcc dot gnu.org

--- Comment #7 from Marek Polacek  ---
Comment 1 compiles fine since r264171.

[Bug c++/80061] error on constexpr function with an unevaluated throw

2018-06-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061

--- Comment #6 from Jonathan Wakely  ---
*** Bug 86207 has been marked as a duplicate of this bug. ***

[Bug c++/80061] error on constexpr function with an unevaluated throw

2018-06-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061

Jonathan Wakely  changed:

   What|Removed |Added

 CC||zhonghao at pku dot org.cn

--- Comment #5 from Jonathan Wakely  ---
*** Bug 86192 has been marked as a duplicate of this bug. ***

[Bug c++/80061] error on constexpr function with an unevaluated throw

2017-12-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061

Martin Sebor  changed:

   What|Removed |Added

 CC||benni.buch at gmail dot com

--- Comment #4 from Martin Sebor  ---
*** Bug 83242 has been marked as a duplicate of this bug. ***

[Bug c++/80061] error on constexpr function with an unevaluated throw

2017-10-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-10-17
 Ever confirmed|0   |1

[Bug c++/80061] error on constexpr function with an unevaluated throw

2017-10-17 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061

Paolo Carlini  changed:

   What|Removed |Added

 CC||ekchew at lgl dot kos.net

--- Comment #3 from Paolo Carlini  ---
*** Bug 82572 has been marked as a duplicate of this bug. ***

[Bug c++/80061] error on constexpr function with an unevaluated throw

2017-07-20 Thread matthijsvanduin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061

--- Comment #2 from Matthijs van Duin  ---
> void foo( bool ok ) {
 ^constexpr

[Bug c++/80061] error on constexpr function with an unevaluated throw

2017-07-20 Thread matthijsvanduin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061

Matthijs van Duin  changed:

   What|Removed |Added

 CC||matthijsvanduin at gmail dot 
com

--- Comment #1 from Matthijs van Duin  ---
Simpler test case:

void foo( bool ok ) {
if( ok )
return;
throw;
}

fails to compile with g++ 6.3.0 and g++ 7.1.0