[Bug middle-end/71905] bogus -Wlarger-than=N and -Wframe-larger-than= -Wstack-usage= warnings on small objects with large N
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 5 23:21:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71905
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
To get around the INT_MAX limit the -Walloc-size-larger-than accepts numbers
with suffixes like KB and MB. Other options that accept sizes should probably
accept the same suffixes for consistency.
More information about the Gcc-bugs
mailing list