https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64557
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Feb 11 09:23:06 2016 New Revision: 233331 URL: https://gcc.gnu.org/viewcvs?rev=233331&root=gcc&view=rev Log: Backported from mainline 2016-01-19 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/68955 PR rtl-optimization/64557 * dse.c (record_store, check_mem_read_rtx): Don't call get_addr here. Fix up formatting. * alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P. * gcc.dg/torture/pr68955.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/torture/pr68955.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/alias.c branches/gcc-4_9-branch/gcc/dse.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog