public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ppalka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85944] Address of temporary bound to a function parameter at global scope not considered constexpr Date: Fri, 14 Jan 2022 14:21:11 +0000 [thread overview] Message-ID: <bug-85944-4-4ZxUMHNia0@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-85944-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944 Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> --- The problem seems to be that maybe_nonzero_address doesn't return true for all temporaries, only those created at function scope, but here the temporary for 'S{}' is created at namespace scope.
next parent reply other threads:[~2022-01-14 14:21 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-85944-4@http.gcc.gnu.org/bugzilla/> 2022-01-14 14:21 ` ppalka at gcc dot gnu.org [this message] 2022-07-06 10:37 ` redi at gcc dot gnu.org 2022-07-06 10:44 ` redi at gcc dot gnu.org 2022-10-25 6:57 ` rguenth at gcc dot gnu.org 2022-10-25 15:59 ` jakub at gcc dot gnu.org 2023-02-23 3:10 ` ppalka at gcc dot gnu.org 2023-04-18 9:55 ` redi at gcc dot gnu.org 2023-05-26 3:14 ` pinskia at gcc dot gnu.org 2023-05-26 3:28 ` [Bug c++/85944] Address of temporary " pinskia at gcc dot gnu.org 2023-07-27 17:54 ` pinskia at gcc dot gnu.org
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-85944-4-4ZxUMHNia0@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: linkBe 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).