From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D3F183893647; Mon, 4 May 2020 17:28:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3F183893647 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588613329; bh=N55uVvUEzJvsVHcN8U2w6Ssq3k45FQ/y56cPwVQryM4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jUrqNDx+OX5o/ylSfGUbdAk8aw+nUts0Xpr2I66QtZVDAnpoTBTjIs77xd024OgGM Grs/X1Rh54CSsSz20e3E1Hh9EAzwk0t10NKDur6WEttPs+PIHTdadrAe28eKaupI7P L36wvTWGnQsWbdiogPI4sfcSzAa/1YBaSBt9BdlY= From: "soap at gentoo dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94929] [8 Regression] GCC 8 chokes on std::max in alignas Date: Mon, 04 May 2020 17:28:49 +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: 8.4.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: soap at gentoo dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 17:28:49 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94929 --- Comment #5 from David Seifert --- (In reply to Marek Polacek from comment #3) > I'm going to backport the fix to 8 if it passes the usual testing. Hi Marek, could you also test the inlined code. Defining some const and then using it alignas worked previously, the problem comes from doing all of it in aligna= s().=