[PATCH] Define libc_max_align_t

Rich Felker dalias@libc.org
Thu Apr 2 15:18:00 GMT 2015


On Thu, Apr 02, 2015 at 09:33:45AM +0200, Andreas Schwab wrote:
> Rich Felker <dalias@libc.org> writes:
> 
> > gcc behavior is inconsistent and confusing.
> 
> gcc just implements the ABI.

No it doesn't. It uses "alignment of X" for two radically different
things. This even resulted in a bug where they chose the wrong one
initially for implementing C11 _Alignof; early gcc versions return the
wrong value for it.

Rich



More information about the Libc-alpha mailing list