This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/2][ARM] PR/65956 AAPCS update for alignment attribute
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Earnshaw <Richard dot Earnshaw at foss dot arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Alan Lawrence <alan dot lawrence at arm dot com>
- Date: Sun, 05 Jul 2015 15:23:55 +0200
- Subject: Re: [PATCH 1/2][ARM] PR/65956 AAPCS update for alignment attribute
- Authentication-results: sourceware.org; auth=none
- References: <5596A98A dot 7080500 at arm dot com> <5596B421 dot 2030806 at foss dot arm dot com>
> Technically this is incorrect since AGGREGATE_TYPE_P includes ARRAY_TYPE
> and ARRAY_TYPE doesn't have TYPE_FIELDS. I doubt we could reach that
> case though (unless there's a language that allows passing arrays by value).
Ada passes small array types by the method specified by the pass_by_reference
hook (and large array types by reference).
--
Eric Botcazou