From: Andrew Pinski <pinskia@gmail.com>
To: Shivam Rajput <physhivam@gmail.com>
Cc: gcc@gcc.gnu.org
Subject: Re: gcc-bug in gcc-11
Date: Tue, 4 Oct 2022 09:27:04 -0700 [thread overview]
Message-ID: <CA+=Sn1n3W=gEiD2sAiUZu1DS29yeu139qNfgmeWGUmfWcRstgg@mail.gmail.com> (raw)
In-Reply-To: <CAJWOB7AoiJP1U0hO6djJGNT1yyKrXH4k3dCO6uKQpY3HEFKoRQ@mail.gmail.com>
On Tue, Oct 4, 2022 at 9:18 AM Shivam Rajput via Gcc <gcc@gcc.gnu.org> wrote:
>
> Hey, I was trying to build clang's libcxx on my ubuntu 22.04 and it has
> gcc-11.2 by default most prolly, but while building libcxx there was an
> error about using the deleted function but it seems that overloaded
> resolution in gcc-11 has a bug https://godbolt.org/z/GPTPYaobb , it
> consider wrong overloaded function , although i build libcxx using gcc-12 .
Looks like it has always been a bug in GCC (tried GCC 4.4.7 and up)
and was only fixed in GCC 12.1.0.
I have not looked into which patch fixed this though but you could do
a "git bisect" to find the patch or ask a few people who have
pre-built binaries to find the patch which fixed it.
I doubt we are going to backport the fix to a GCC 11 release either
since it is NOT a regression from an earlier version.
Thanks,
Andrew Pinski
>
> Thanks and regards
> Shivam
next prev parent reply other threads:[~2022-10-04 16:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-04 16:16 Shivam Rajput
2022-10-04 16:27 ` Andrew Pinski [this message]
2022-10-04 16:27 ` Jonathan Wakely
2022-10-04 16:27 ` David Edelsohn
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='CA+=Sn1n3W=gEiD2sAiUZu1DS29yeu139qNfgmeWGUmfWcRstgg@mail.gmail.com' \
--to=pinskia@gmail.com \
--cc=gcc@gcc.gnu.org \
--cc=physhivam@gmail.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).