> 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