This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PR 6212
--On Monday, May 06, 2002 05:11:13 PM -0700 Richard Henderson
<rth@redhat.com> wrote:
> On Mon, May 06, 2002 at 05:01:40PM -0700, Mark Mitchell wrote:
>> Kenner, you're going to have to come up with a better patch.
>>
>> Yesterday would be a good time.
>
> I think the following will do the job. It adds the alignment
> based on the type of the dereference, not based on the form of
> the index.
>
> Bar one, the other uses of highest_pow2_factor are simple field
> offsets, and so do not need adjustment. The one other remaining
> talks about the size of some BLKmode thingy. Dunno what's going
> on there, but it's for sure better to guess low than high when
> talking about alignment.
>
> I'm in the process of testing both patches on Alpha and MIPS.
Your patch is certainly OK if it passes.
Thanks!
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com