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][C++] Remove last use of can_trust_pointer_alignment


On Thu, Aug 11, 2011 at 1:57 AM, Richard Guenther <rguenther@suse.de> wrote:
> On Wed, 10 Aug 2011, Richard Guenther wrote:
>
>> On Wed, 10 Aug 2011, Richard Guenther wrote:
>>
>> > On Wed, 10 Aug 2011, Jason Merrill wrote:
>> >
>> > > On 08/10/2011 08:35 AM, Richard Guenther wrote:
>> > > > ? ? ? ? * call.c (build_over_call): Call memcpy unconditionally.
>> > >
>> > > OK. ?Have you tested the MEM_REF patch?
>> >
>> > No, not yet. ?I'll throw it to testing now.
>>
>> The following is what passed bootstrap sofar and is in testing now.
>
> With the patch SRA now causes g++.dg/tree-ssa/pr41186.C to be fully
> optimized, making FRE useless. ?Thus the patch needs to disable SRA
> when testing for FRE features. ?This is somewhat expected as
> when no longer using memcpy nothing keeps the source/destination
> having their address taken and thus they get exposed to SRA.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, ok for trunk?
>
> Thanks,
> Richard.
>
> 2011-08-11 ?Richard Guenther ?<rguenther@suse.de>
>
> ? ? ? ?cp/
> ? ? ? ?* call.c (build_over_call): Instead of memcpy use an
> ? ? ? ?assignment of two MEM_REFs.
>

This caused:

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


-- 
H.J.


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