This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix alignment bug
- From: Eric Botcazou <ebotcazou at act-europe dot fr>
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 29 Feb 2004 10:36:38 +0100
- Subject: Re: [PATCH] Fix alignment bug
- References: <200402282328.i1SNSeXi013433@hiauly1.hia.nrc.ca>
> Eric,
Hi Dave,
> > 2002-05-06 Richard Henderson <rth@redhat.com>
> >
> > PR c++/6212
> > * expr.c (highest_pow2_factor_for_type): New.
> > (expand_assignment): Use it.
>
> This patch is also on the 3.3 branch.
Yes, and on the 3.2 branch too, which is actually the problem for ACT :-)
> I'm just guessing but this might be the alignment problem that prevents
> the bootstrapping of ada in 3.[45] with 3.3 on hppa*-hp-hpux11*. So, I
> think we need to look at whether this patch might be suitable for 3.3 as
> well.
OK. Unfortunately I don't know enough the Ada part of the Ada front-end to
say whether the Ada idiom that is miscompiled (variable-length packed
aggregates) is present in the front-end.
Do you have a description of the problem on hppa*-hp-hpux11*?
--
Eric Botcazou