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=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; }' |
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: victor.nawothnig at gmail dot com
Target Milestone: ---
A set of functions from cstdlib suffers from incorrect constexpr diagnostic
"call to non-constexpr function"
#include