public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.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:37:25 +0000 [thread overview]
Message-ID: <bug-94929-4-h1XZjU8W8V@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-94929-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to David Seifert from comment #5)
> (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
> alignas().
Both the original testcase in this PR and the test in Comment 2 now compile
even with GCC 8.
prev parent reply other threads:[~2020-05-04 17:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-02 22:34 [Bug c++/94929] New: " soap at gentoo dot org
2020-05-03 8:44 ` [Bug c++/94929] [8 Regression] " redi at gcc dot gnu.org
2020-05-03 8:49 ` redi at gcc dot gnu.org
2020-05-04 6:43 ` rguenth at gcc dot gnu.org
2020-05-04 15:12 ` mpolacek at gcc dot gnu.org
2020-05-04 17:28 ` mpolacek at gcc dot gnu.org
2020-05-04 17:28 ` soap at gentoo dot org
2020-05-04 17:37 ` mpolacek at gcc dot gnu.org [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-94929-4-h1XZjU8W8V@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).