[Bug ada/33994] wrong code for indexed component when index subtype has 'Size > 32
sam at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 28 22:29:00 GMT 2007
------- Comment #3 from sam at gcc dot gnu dot org 2007-11-28 22:29 -------
Well, what do you expect by trying to declare an array of size 2**48 - 2**40 +
1, which is much greater than the 2**32 bytes of addressable memory on your
i686-pc-linux-gnu target? :/
(2**48) % (2**32) = 0 = (2**40) % (2 ** 32), which is why you get the same
address because of the pointer arithmetic wraparound.
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33994
More information about the Gcc-bugs
mailing list