From: Jonathan Wakely <jwakely@redhat.com>
To: Patrick Palka <ppalka@redhat.com>
Cc: Jakub Jelinek <jakub@redhat.com>,
"haochen.jiang" <haochenj@ecsmtp.sh.intel.com>,
"jason@redhat.com" <jason@redhat.com>,
"gcc-regression@gcc.gnu.org" <gcc-regression@gcc.gnu.org>,
"gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
"haochen.jiang@intel.com" <haochen.jiang@intel.com>
Subject: Re: [r14-159 Regression] FAIL: std/ranges/iota/max_size_type.cc execution test on Linux/x86_64
Date: Mon, 24 Apr 2023 17:30:13 +0100 [thread overview]
Message-ID: <CACb0b4=eQi4MSWnG3yN4SuW1pJiVNPSt92F3wUptDcEETmmpJw@mail.gmail.com> (raw)
In-Reply-To: <0afbbbd8-3f8a-dc82-832c-8dd315dc6916@idea>
On Mon, 24 Apr 2023 at 17:27, Patrick Palka <ppalka@redhat.com> wrote:
>
> On Sun, 23 Apr 2023, Jonathan Wakely wrote:
>
> >
> >
> > On Saturday, April 22, 2023, Jakub Jelinek <jakub@redhat.com> wrote:
> > > On Sat, Apr 22, 2023 at 11:30:24AM +0800, haochen.jiang via Gcc-patches wrote:
> > >> On Linux/x86_64,
> > >>
> > >> 03cebd304955a6b9c5607e09312d77f1307cc98e is the first bad commit
> > >> commit 03cebd304955a6b9c5607e09312d77f1307cc98e
> > >> Author: Jason Merrill <jason@redhat.com>
> > >> Date: Tue Apr 18 21:32:07 2023 -0400
> > >>
> > >> c++: fix 'unsigned typedef-name' extension [PR108099]
> > >>
> > >> caused
> > >>
> > >> FAIL: std/ranges/iota/max_size_type.cc execution test
> > >
> > > That is mentioned in
> > > https://gcc.gnu.org/pipermail/gcc-patches/2023-April/616439.html
> > > as known problem. I think the test should use std::make_signed<rep_t>
> > > instead of signed rep_t
>
> IIUC we can't portably use make_signed here since __int128 is considered
> an integral type only in GNU mode and not in strict mode.
Right (for now ... C++23 means we can make it an integer type, and I
think we might as well apply that to all -std modes, but that work
isn't done yet).
>
> >
> > It's already testing non-public implementation details, it could just use #if and use signed __int128 or signed long long as appropriate.
>
> Sounds good, patch posted at https://gcc.gnu.org/pipermail/gcc-patches/2023-April/616598.html
prev parent reply other threads:[~2023-04-24 16:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-22 3:30 haochen.jiang
2023-04-22 7:44 ` Jakub Jelinek
2023-04-22 23:26 ` Jonathan Wakely
2023-04-24 16:27 ` Patrick Palka
2023-04-24 16:30 ` Jonathan Wakely [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='CACb0b4=eQi4MSWnG3yN4SuW1pJiVNPSt92F3wUptDcEETmmpJw@mail.gmail.com' \
--to=jwakely@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gcc-regression@gcc.gnu.org \
--cc=haochen.jiang@intel.com \
--cc=haochenj@ecsmtp.sh.intel.com \
--cc=jakub@redhat.com \
--cc=jason@redhat.com \
--cc=ppalka@redhat.com \
/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).