https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91428
--- Comment #6 from Marek Polacek ---
Well, but perhaps the right fix is removing "std::is_constant_evaluated ()"
instead?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91428
--- Comment #5 from Marc Glisse ---
Would it make sense to add a fixit hint that removes "constexpr"? I think that
might make the warning a bit clearer for some users.
On the other hand, if is_constant_evaluated gets removed by P1938, there is no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91428
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91428
--- Comment #3 from Marek Polacek ---
Author: mpolacek
Date: Wed Aug 28 02:03:48 2019
New Revision: 274981
URL: https://gcc.gnu.org/viewcvs?rev=274981&root=gcc&view=rev
Log:
PR c++/91428 - warn about std::is_constant_evaluated in if cons
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91428
--- Comment #2 from Marek Polacek ---
*be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91428
Marek Polacek changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIRME