https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87519
Keith Thompson <Keith.S.Thompson at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Keith.S.Thompson at gmail dot
com
--- Comment #8 from Keith Thompson <Keith.S.Thompson at gmail dot com> ---
Another test case:
#include <cstddef>
int main() {
int i = 42;
size_t s0 = sizeof (int) + (size_t)i;
size_t s1 = sizeof (int) + static_cast<size_t>(i);
}
https://stackoverflow.com/q/57403497/827263
https://stackoverflow.com/a/57404123/827263