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 17:30:42 +0100
- Subject: Re: [PATCH] Fix alignment bug
- References: <200402291543.i1TFh0DG016232@hiauly1.hia.nrc.ca>
> It's PR 12761. It was closed as WONTFIX ;(
Thanks. I'm not sure it is related though, since it appears to be
connected to arrays, not records.
FYI, I recently fixed another long-standing alignment problem on SPARC
2003-12-01 Eric Botcazou <ebotcazou@libertysurf.fr>
PR middle-end/7847
* expr.c (expand_expr) [normal_inner_ref]: When 'offset' is non-zero,
do not recheck that 'op0' is a MEM. Move comment. When testing for
unaligned objects, take also into account the alignment of 'op0' and
'mode1' if 'op0' is a MEM.
so you might want to try it too.
--
Eric Botcazou