https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93093
Jakub Jelinek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93093
--- Comment #7 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:ba3d8dffcc1c23b30370ab24fc20d09cff005d7b
commit r11-5685-gba3d8dffcc1c23b30370ab24fc20d09cff005d7b
Author: Jakub Jelinek
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93093
--- Comment #6 from Jason Merrill ---
This is https://github.com/cplusplus/nbballot/issues/167
In CWG today we decided that since this is all compiler magic anyway, we can be
a bit more magical to get around this problematic interaction with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93093
--- Comment #5 from Jakub Jelinek ---
Jason, do you think the current spec is clear enough on when the consteval
evaluation of default arguments ought to happen (and does our implementation
match that), or does it need clarification?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93093
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93093
--- Comment #4 from JeanHeyd Meneide ---
I changed the library test cases, but maybe there needs to be something that
helps the library developers tag a constant evaluation function as something
that should be ran later / deferred. I don't have
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93093
--- Comment #3 from JeanHeyd Meneide ---
I guess we just throw out a handful of those test cases, then. It's not like
the Standard is really impactful here, since most of Source Location's
specification is "should...", which is encouragement and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93093
--- Comment #2 from Jakub Jelinek ---
What this boils down to is e.g. whether
consteval int foo (int i) { if (i) throw 1; return 0; }
void bar (int x = foo (0));
void baz (int x = foo (1));
void qux () { bar (0); bar (); baz (0); }
needs to be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93093
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org,