https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119381
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
You can use
enum { size = 4096 };
instead of
const int size = 4096;
in the function to get the expected constant folding.
