https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80783
Martin Sebor changed:
What|Removed |Added
Severity|enhancement |normal
--- Comment #4 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80783
--- Comment #3 from Victor Nawothnig ---
Created attachment 41384
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41384&action=edit
Examples
All testcases and their results attached for better readability
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80783
--- Comment #2 from Victor Nawothnig ---
Except all the following examples violate the core constant expression
constraint ([expr.const] 2.3), but GCC diagnoses only some:
```
$ echo '#include \n constexpr int f() { atoi(""); return 1; }' |
g++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80783
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIRMED