This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/25130] [4.1/4.2 Regression] miscompilation in GCSE



------- Comment #19 from steven at gcc dot gnu dot org  2006-01-03 22:37 -------
Subject: Bug 25130

Author: steven
Date: Tue Jan  3 22:37:46 2006
New Revision: 109292

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109292
Log:
2006-01-03  Steven Bosscher  <stevenb.gcc@gmail.com>

        * fold-const.c (operand_equal_p): Accept a NULL operand 0 for
        COMPONENT_REFs.
        * emit-rtl.c (mem_attrs_htab_eq): Use iterative_hash_expr for
        hashing trees instead of a pointer hash.
        (mem_attrs_htab_eq): Do a deep compare instead of a pointer
        compare for MEM_EXPR.

        PR rtl-optimization/25130
        * cse.c (exp_equiv_p): Compare MEM_ATTRS instead of
        * MEM_ALIAS_SET
        when comparing MEMs for GCSE

Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/cse.c
    branches/gcc-4_1-branch/gcc/emit-rtl.c
    branches/gcc-4_1-branch/gcc/fold-const.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25130



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]