[Bug middle-end/52355] [4.7 regression] address difference between array elements is not considered to be a compile time constant anymore
siarhei.siamashka at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 23 16:02:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52355
--- Comment #4 from Siarhei Siamashka <siarhei.siamashka at gmail dot com> 2012-02-23 15:56:24 UTC ---
Now I wonder if multidimensional array is still treated as the same array in
"When two pointers are subtracted, both shall point to elements of the same
array object, or one past the last element of the array object; the result is
the difference of the subscripts of the two array elements."
https://groups.google.com/group/comp.lang.c/browse_thread/thread/3a16b9b33cb0cdd0/c16065f5189a0348
More information about the Gcc-bugs
mailing list