pr24851.c
295 Bytes
-
re PR middle-end/24851 (f2c miscompilation) · 0bc52d42
2005-11-16 Richard Guenther <rguenther@suse.de> PR middle-end/24851 * fold-const.c (extract_array_ref): Return byte offset in all cases. (fold_binary): Fold &x[a] CMP &x[b] to a*sizeof(*x) CMP b*sizeof(*x) to get correct overflow behavior. * gcc.c-torture/execute/pr24851.c: New testcase. From-SVN: r107117
Richard Guenther committed