This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/16187] extra casts to unsigned int generated for array references
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2004 10:58:33 -0000
- Subject: [Bug middle-end/16187] extra casts to unsigned int generated for array references
- References: <20040625001706.16187.dann@godzilla.ics.uci.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2004-06-26 10:58 -------
What architecture is that on? On 64-bit architectures, these two functions are
not equivalent; with
int a[10] = { 0 };
f1(a + 2, -2)
the first one works and the second crashes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16187