------- Comment #11 from jakub at gcc dot gnu dot org 2009-04-27 11:55 ------- Subject: Bug 39794
Author: jakub Date: Mon Apr 27 11:55:13 2009 New Revision: 146834 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146834 Log: PR rtl-optimization/39794 * alias.c (canon_true_dependence): Add x_addr argument. * rtl.h (canon_true_dependence): Adjust prototype. * cse.c (check_dependence): Adjust canon_true_dependence callers. * cselib.c (cselib_invalidate_mem): Likewise. * gcse.c (compute_transp): Likewise. * dse.c (scan_reads_nospill): Likewise. (record_store, check_mem_read_rtx): Likewise. For non-const-or-frame addresses pass base->val_rtx as mem_addr, for const-or-frame addresses canon_base_addr of the group, plus optional offset. (struct group_info): Rename canon_base_mem to canon_base_addr. (get_group_info): Set canon_base_addr to canon_rtx of base, not canon_rtx of base_mem. * gcc.dg/pr39794.c: New test. Added: branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr39794.c - copied unchanged from r146669, trunk/gcc/testsuite/gcc.dg/pr39794.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/alias.c branches/gcc-4_4-branch/gcc/cse.c branches/gcc-4_4-branch/gcc/cselib.c branches/gcc-4_4-branch/gcc/dse.c branches/gcc-4_4-branch/gcc/gcse.c branches/gcc-4_4-branch/gcc/rtl.h branches/gcc-4_4-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39794