[Bug c++/125536] T[N] not substituted when N >= 2^31
programmer00001h at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Jun 2 12:14:06 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125536
programmer00001h at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |programmer00001h at gmail dot com
--- Comment #1 from programmer00001h at gmail dot com ---
<https://godbolt.org/z/fqKdvdoae>
> In substitution of 'template<long long unsigned int N> constexpr const bool x<char [N]> [with long long unsigned int N = 18446744071562067968]:
GCC is clearly mishandling the array size here.
More information about the Gcc-bugs
mailing list