[Bug c++/97544] -Wtype-limits triggered for comparison to template argument
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97544 --- Comment #4 from Benedek Thaler --- FTR, Using (N != 0 && i < N) does not silence the warning. https://gcc.godbolt.org/z/WqaT3G
[Bug c++/97544] New: -Wtype-limits triggered for comparison to template argument
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97544 Bug ID: 97544 Summary: -Wtype-limits triggered for comparison to template argument Product: gcc Version: 10.2.0 Status: UNCONFIRMED Keywords: diagnostic