From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18638 invoked by alias); 15 Nov 2014 15:59:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18584 invoked by uid 48); 15 Nov 2014 15:59:53 -0000 From: "fxcoudert at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/61053] [4.9/4.10 Regression] _Alignas(long long) reduces alignment of long long Date: Sat, 15 Nov 2014 15:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: fxcoudert at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-11/txt/msg01345.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61053 Francois-Xavier Coudert changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |fxcoudert at gcc dot gnu.org, | |iains at gcc dot gnu.org, | |mikestump at comcast dot net Resolution|FIXED |--- --- Comment #8 from Francois-Xavier Coudert --- The testcase introduced in fixing this bug (gcc.dg/pr61053.c) fails on x86_64-apple-darwin14 with -m32, because of excess errors: gcc.dg/pr61053.c:70:28: error: '_Alignas' specifiers cannot reduce alignment of 'ldi' gcc.dg/pr61053.c:71:33: error: '_Alignas' specifiers cannot reduce alignment of 'ldl' gcc.dg/pr61053.c:72:38: error: '_Alignas' specifiers cannot reduce alignment of 'ldll' gcc.dg/pr61053.c:73:30: error: '_Alignas' specifiers cannot reduce alignment of 'ldf' gcc.dg/pr61053.c:74:31: error: '_Alignas' specifiers cannot reduce alignment of 'ldd' The testcase does not expect those for ia32, but we have them on darwin because long double has 16 bytes alignment both at -m32 and -m64. I don't know what's the best way to adapt the dg-error clauses, however.