This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR35258: Prevent CSE from generating overlapping memmoves
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Andreas Krebbel" <Andreas dot Krebbel at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 22 Feb 2008 15:34:15 +0100
- Subject: Re: [PATCH] PR35258: Prevent CSE from generating overlapping memmoves
- References: <20080222142914.GA21750@homer.boeblingen.de.ibm.com>
On Fri, Feb 22, 2008 at 3:29 PM, Andreas Krebbel
<Andreas.Krebbel@de.ibm.com> wrote:
> Hi,
>
> the attached patch prevents cse from creating overlapping mem to mem
> copies. This fixes PR 35258.
>
> Bootstrapped on x86_64, s390 and s390x.
> No testsuite regressions.
>
> Ok for mainline? What about 4.3?
It looks like you can use nonoverlapping_memrefs_p from alias.c
instead of adding cse_mem_cannot_overlap_p?
Richard.