[Bug tree-optimization/84416] internal compiler error: in int_cst_value, at tree.c:11089

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Fri Feb 16 22:37:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84416

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Ignoring weird targets (m32c...), there's no valid use for array indices 
larger than size_t / ptrdiff_t (beyond I suppose any optimization effects 
from knowing that the conversion of the array index, or offset added to a 
pointer, to a pointer-sized integer of the same signedness does not change 
the value).


More information about the Gcc-bugs mailing list