This is the mail archive of the gcc-patches@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]

Re: [PATCH] PR35258: Prevent CSE from generating overlapping memmoves


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.


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