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] Fix part of PR45678


On Fri, 17 Sep 2010, H.J. Lu wrote:

> On Fri, Sep 17, 2010 at 1:48 AM, Richard Guenther <rguenther@suse.de> wrote:
> >
> > This fixes part of PR45678 where memcpy folding lies about alignment
> > of memory accesses. ?Usually this shouldn't matter for !STRICT_ALIGNMENT
> > targets but some targets are half strict-alignment but lie about that
> > (x86_64 for example, where all vector modes require strict alignment).
> > For those targets we require that they implement a movmisalign
> > optab for the affected modes.
> >
> > Bootstrapped and tested on x86_64-unknown-linux-gnu, committed.
> >
> > Richard.
> >
> > 2010-09-17 ?Richard Guenther ?<rguenther@suse.de>
> >
> > ? ? ? ?PR middle-end/45678
> > ? ? ? ?* builtins.c (fold_builtin_memory_op): Always properly adjust
> > ? ? ? ?alignment of memory accesses.
> >
> 
> Could you please add the testcase in PR 45678?

It isn't fixed - cfgexpand still messes up DECL_ALIGN as I said in
the PR.

Richard.

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