https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119381
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119381
--- Comment #7 from Jakub Jelinek ---
Or in C23 constexpr int size = 4096;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119381
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119381
--- Comment #4 from Andrew Pinski ---
So as I mentioned on IRC, clang implements a slightly different extension
compared to GCC. clang decides that size is a constant integer expression
handles it that way and gives a warning about it:
```
:5:22