This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR43814] Assume function arguments of pointer type are aligned.
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Tom de Vries <Tom_deVries at mentor dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Guenther <richard dot guenther at gmail dot com>, Jakub Jelinek <jakub at redhat dot com>, "Kuvyrkov, Maxim" <Maxim_Kuvyrkov at mentor dot com>
- Date: Thu, 8 Dec 2011 22:40:05 +0100
- Subject: Re: [PATCH, PR43814] Assume function arguments of pointer type are aligned.
- References: <4E787543.1090009@codesourcery.com> <CAFiYyc2+oZgcOsJqXa7Q-=fvPt=8UuF4AAJbBNaT0_jz314SAw@mail.gmail.com> <4EE0D366.1070303@mentor.com>
> * expr.c (get_object_or_type_alignment): Remove static.
> * expr.h (get_object_or_type_alignment): Declare.
I did that this morning (and also added an assertion in the function).
--
Eric Botcazou