Re: [PATCH] Fix PR53970

2012-07-19 Thread Richard Guenther
On Wed, 18 Jul 2012, John David Anglin wrote: > On Wed, 18 Jul 2012, Richard Guenther wrote: > > > Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. > > > > Richard. > > > > 2012-07-18 Richard Guenther > > > > PR tree-optimization/53970 > > * tree.h (contains_packed_ref

Re: [PATCH] Fix PR53970

2012-07-18 Thread John David Anglin
On Wed, 18 Jul 2012, Richard Guenther wrote: > Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. > > Richard. > > 2012-07-18 Richard Guenther > > PR tree-optimization/53970 > * tree.h (contains_packed_reference): Remove. > * expr.c (contains_packed_reference):

[PATCH] Fix PR53970

2012-07-18 Thread Richard Guenther
With get_object_alignment and get_object_or_type_alignment fused it is now easy to fix PR53970 and remove the bogus contains_packed_reference function. The vectorizer wants to know whether the scalar access is aligned in a way that peeling can eventually reach VF * scalar alignment (thus, vector