]> git.ipfire.org Git - thirdparty/gcc.git/commit
Avoid CSE of MEMs in different address spaces
authorRichard Henderson <rth@redhat.com>
Mon, 9 Nov 2015 09:18:35 +0000 (01:18 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 9 Nov 2015 09:18:35 +0000 (01:18 -0800)
commitbd68a3a7e74c8a034dab3efd84c09c4fed066fc1
tree46bd72668958aed984a4145ddb893bf82b2a00da
parentf0ebde5acecc9fd69fd6dc1c8a9dd568edf96747
Avoid CSE of MEMs in different address spaces

        * cselib.c (add_mem_for_addr): Compare address spaces when
        matching memories.
        (cselib_lookup_mem): Likewise.
        * fold-const.c (operand_equal_p): Check address spaces of
        pointer types before checking integer constants.

From-SVN: r229998
gcc/ChangeLog
gcc/cselib.c
gcc/fold-const.c