https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64557
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Feb 10 18:34:30 2016 New Revision: 233293 URL: https://gcc.gnu.org/viewcvs?rev=233293&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-5-branch/gcc/testsuite/gcc.dg/torture/pr68955.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/alias.c branches/gcc-5-branch/gcc/dse.c branches/gcc-5-branch/gcc/testsuite/ChangeLog