public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/107267] New: ice in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253
Date: Fri, 14 Oct 2022 16:18:27 +0000	[thread overview]
Message-ID: <bug-107267-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107267

            Bug ID: 107267
           Summary: ice in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 53705
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53705&action=edit
gzipped C++ source code

The attached C++ code, with compiler flag -O1, does this with recent gcc:

/home/dcb36/rpmbuild/BUILD/Vulkan-ValidationLayers-sdk-1.2.198.0/layers/vk_layer_utils.h:428:18:
internal compil
er error: in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253
  428 |             auto ret = std::move(FindResult(true, itr->second));
      |                  ^~~
0x76bbbd cp_gimplify_init_expr(tree_node**)
        ../../trunk.git/gcc/cp/cp-gimplify.cc:253
0x76bbbd cp_gimplify_expr(tree_node**, gimple**, gimple**)
        ../../trunk.git/gcc/cp/cp-gimplify.cc:508

             reply	other threads:[~2022-10-14 16:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-14 16:18 dcb314 at hotmail dot com [this message]
2022-10-14 16:25 ` [Bug c++/107267] " dcb314 at hotmail dot com
2022-10-14 16:29 ` dcb314 at hotmail dot com
2022-10-15 11:00 ` dcb314 at hotmail dot com
2022-10-16  6:39 ` dcb314 at hotmail dot com
2022-10-16  7:03 ` dcb314 at hotmail dot com
2022-10-16  7:21 ` dcb314 at hotmail dot com
2022-10-16  7:30 ` dcb314 at hotmail dot com
2022-10-17 11:31 ` [Bug c++/107267] [13 Regression] ICE in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253 since r13-3175-g6ffbf87ca66f4ed9 marxin at gcc dot gnu.org
2022-10-17 11:32 ` marxin at gcc dot gnu.org
2022-10-17 11:35 ` marxin at gcc dot gnu.org
2022-10-17 11:35 ` marxin at gcc dot gnu.org
2022-10-20 18:39 ` dcb314 at hotmail dot com
2022-10-20 18:52 ` ppalka at gcc dot gnu.org
2023-01-23 22:04 ` jason at gcc dot gnu.org
2023-01-23 23:35 ` cvs-commit at gcc dot gnu.org
2023-01-24  2:53 ` jason 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-107267-4@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).