public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f
Date: Mon, 27 Feb 2023 10:33:54 +0000	[thread overview]
Message-ID: <bug-108773-4-bjkyWVViGT@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-108773-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
The variable is built from

#0  build_local_temp (type=<record_type 0x7ffff6a6dc78 allocator>)
    at /space/rguenther/src/gcc/gcc/cp/tree.cc:559
#1  0x000000000110fdc1 in force_target_expr (
    type=<record_type 0x7ffff6a6dc78 allocator>, 
    init=<constructor 0x7ffff6a827c8>, complain=3)
    at /space/rguenther/src/gcc/gcc/cp/tree.cc:932
#2  0x0000000001119933 in bot_manip (tp=0x7fffffffbcb8, 
    walk_subtrees=0x7fffffffbc54, data_=0x7fffffffbcc0)
    at /space/rguenther/src/gcc/gcc/cp/tree.cc:3181
#3  0x0000000001dc81e0 in walk_tree_1 (tp=0x7fffffffbcb8, 
    func=0x111965a <bot_manip(tree*, int*, void*)>, data=0x7fffffffbcc0, 
    pset=0x0, 
    lh=0x1124208 <cp_walk_subtrees(tree_node**, int*, tree_node*
(*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false,
default_hash_traits<tree_node*> >*)>) at
/space/rguenther/src/gcc/gcc/tree.cc:11355
#4  0x000000000111aeaf in break_out_target_exprs (
    t=<target_expr 0x7ffff68bf7e0>, clear_location=true)
    at /space/rguenther/src/gcc/gcc/cp/tree.cc:3366
#5  0x0000000000d208e9 in convert_default_arg (
    type=<record_type 0x7ffff6a6dc78 allocator>, 
    arg=<target_expr 0x7ffff68bf7e0>, fn=<function_decl 0x7ffff6a6fb00 __ct >, 
    parmnum=1, complain=3) at /space/rguenther/src/gcc/gcc/cp/call.cc:9198
...

where build_local_temp doesn't add the variable to any BIND

  parent reply	other threads:[~2023-02-27 10:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-13 12:54 [Bug c++/108773] New: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph kkeithle at redhat dot com
2023-02-13 13:04 ` [Bug c++/108773] " kkeithle at redhat dot com
2023-02-13 13:05 ` marxin at gcc dot gnu.org
2023-02-13 13:16 ` [Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f marxin at gcc dot gnu.org
2023-02-13 13:18 ` marxin at gcc dot gnu.org
2023-02-13 13:27 ` jakub at gcc dot gnu.org
2023-02-13 14:27 ` jakub at gcc dot gnu.org
2023-02-13 14:39 ` jakub at gcc dot gnu.org
2023-02-13 15:54 ` jakub at gcc dot gnu.org
2023-02-13 16:03 ` marxin at gcc dot gnu.org
2023-02-13 16:11 ` jakub at gcc dot gnu.org
2023-02-13 17:06 ` jakub at gcc dot gnu.org
2023-02-13 17:07 ` jakub at gcc dot gnu.org
2023-02-27 10:33 ` rguenth at gcc dot gnu.org [this message]
2023-03-07  3:01 ` jason at gcc dot gnu.org
2023-03-08  3:35 ` jason at gcc dot gnu.org
2023-03-09 21:26 ` cvs-commit at gcc dot gnu.org
2023-03-09 21:30 ` jason at gcc dot gnu.org
2023-03-13 18:07 ` kkeithle at redhat dot com

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-108773-4-bjkyWVViGT@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).