This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/16187] extra casts to unsigned int generated for array references


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]