On 2016-10-09, at 4:34 AM, Bernd Edlinger wrote:
> For instance have:
>
> typedef struct {
> char __max_align[0] __attribute__((__aligned__(__MAX_ALIGN_T_ALIGN__)));
> } max_align_t;
>
> Provided we do:
>
> builtin_define_with_value ("__MAX_ALIGN_T_ALIGN__",
> targetm.max_align_t_align () / BITS_PER_UNIT);
>
> Would'nt that guarantee, that __max_align_t and
> max_align_t_align () will always be the same?Yes, excellent suggestion. Testing. -- John David Anglin [email protected]
