r252291 - in /branches/range-gen2/gcc: ChangeLo...
aldyh@gcc.gnu.org
aldyh@gcc.gnu.org
Wed Sep 13 16:28:00 GMT 2017
Author: aldyh
Date: Wed Sep 13 16:28:48 2017
New Revision: 252291
URL: https://gcc.gnu.org/viewcvs?rev=252291&root=gcc&view=rev
Log:
PR middle-end/81695
* fold-const.c (fold_indirect_ref_1): For ((int *)&a + 4 -> a[1],
perform the computation in offset_int.
* gcc.dg/pr81695.c: New test.
Added:
branches/range-gen2/gcc/testsuite/gcc.dg/pr81695.c
Modified:
branches/range-gen2/gcc/ChangeLog
branches/range-gen2/gcc/fold-const.c
branches/range-gen2/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list