From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5208 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Revisiting max_align_t and stdalign.h Date: Sun, 8 Jun 2014 12:19:21 -0400 Message-ID: <20140608161921.GH179@brightrain.aerifal.cx> References: <20140608145924.GA19121@brightrain.aerifal.cx> <20140608155441.GG179@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1402244381 19271 80.91.229.3 (8 Jun 2014 16:19:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Jun 2014 16:19:41 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5213-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jun 08 18:19:35 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Wtfok-0002wL-NL for gllmg-musl@plane.gmane.org; Sun, 08 Jun 2014 18:19:34 +0200 Original-Received: (qmail 25748 invoked by uid 550); 8 Jun 2014 16:19:34 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 25740 invoked from network); 8 Jun 2014 16:19:33 -0000 Content-Disposition: inline In-Reply-To: <20140608155441.GG179@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:5208 Archived-At: On Sun, Jun 08, 2014 at 11:54:41AM -0400, Rich Felker wrote: > > I suspect _Alignas is similarly broken. > > And _Alignas might be broken even on current gcc -- it accepts not > just types but also expressions. However it's not clear to me whether Never mind; I was being stupid. The expression argument to _Alignas is a value for the alignment, not an expression whose type is used. Rich