re PR middle-end/52355 (address difference between array elements is not…
re PR middle-end/52355 (address difference between array elements is not considered to be a compile time constant anymore) 2012-02-24 Richard Guenther <rguenther@suse.de> PR middle-end/52355 * fold-const.c (fold_addr_of_array_ref_difference): New function. (fold_binary_loc): Use it to extend the existing &a[i] - &a[j] folding. * gcc.dg/pr52355.c: New testcase. From-SVN: r184548
Showing
gcc/testsuite/gcc.dg/pr52355.c
0 → 100644
Please
register
or
sign in
to comment