This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix alignment bug
> | 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.
>
> Would it be appropriate for gcc-3_3-branch?
Middle-end, so inherently risky I'd say. IIRC the testcase is a corner case,
so I don't think it is worth the risk, unless it helps for Dave's problem.
--
Eric Botcazou