From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD2303858436; Mon, 13 Feb 2023 13:18:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD2303858436 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676294310; bh=ruCYmGDXN8OTHtRrM11s6jQfB/24g6jmsgsEKhLQEqg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=b8YyD0ZrKFYtX1nmQlzGo6/SCaoIrxZ+PCNSDy4Dv9UwejKlBHUXPeFaBotHMkzSx +kpNKqUHqU00Q49W5BaJCORsrW3H64DELn+902Rtsd5tZT0MXzvUU7ePraIEB6reU/ Dmd1xNK7AhbGgxvAqgXSZbhw94fHYYZJHWH0a3z8= From: "marxin at gcc dot 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, 13 Feb 2023 13:18:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108773 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-reduction --- Comment #4 from Martin Li=C5=A1ka --- I'm not sure I'll be able to reduce it, btw. it crashes here: #0 fancy_abort (file=3Dfile@entry=3D0x22c7288 "/home/marxin/Programming/gcc/gcc/gimplify.cc", line=3Dline@entry=3D3058, function=3Dfunction@entry=3D0x22c6bab "gimplify_var_or_parm_decl") at /home/marxin/Programming/gcc/gcc/diagnostic.cc:2219 #1 0x00000000007c1226 in gimplify_var_or_parm_decl (expr_p=3D0x7fffcfd6e33= 8) at /home/marxin/Programming/gcc/gcc/gimplify.cc:3058 #2 0x0000000000ebcb6b in gimplify_expr (expr_p=3D0x7fffcfd6e338, pre_p=3D0x7fffffffbbb0, post_p=3D0x7fffffffb0f8, gimple_test_f=3D0xeab4c0 , fallback=3D3) at /home/marxin/Programming/gcc/gcc/gimplify.cc:16822 #3 0x0000000000ec36d6 in gimplify_addr_expr (expr_p=3D0x7fffba8c6940, pre_p=3D0x7fffffffbbb0, post_p=3D0x7fffffffb0f8) at /home/marxin/Programming/gcc/gcc/gimplify.cc:6561 #4 0x0000000000ebce24 in gimplify_expr (expr_p=3D0x7fffba8c6940, pre_p=3D0x7fffffffbbb0, post_p=3D0x7fffffffb0f8, gimple_test_f=3D0xe6fb70 , fallback=3D1) at /home/marxin/Programming/gcc/gcc/gimplify.cc:16408 #5 0x0000000000ec8822 in gimplify_expr (post_p=3D0x0, allow_ssa=3Dtrue, fallback=3D, gimple_test_f=3D, pre_p=3D0x7fff= ffffbbb0, expr_p=3D0x7fffba8c6940) at /home/marxin/Programming/gcc/gcc/gimplify.cc:17= 425 #6 gimplify_arg (arg_p=3D0x7fffba8c6940, pre_p=3D0x7fffffffbbb0, call_location=3D1422861833, allow_ssa=3D) at /home/marxin/Programming/gcc/gcc/gimplify.cc:3504 #7 0x0000000000ecbf1c in gimplify_call_expr (expr_p=3D0x7fffcb66aad8, pre_p=3D0x7fffffffbbb0, want_value=3D) at /home/marxin/Programming/gcc/gcc/gimplify.cc:3789 #8 0x0000000000ebd0ec in gimplify_expr (expr_p=3D0x7fffcb66aad8, pre_p=3D0x7fffffffbbb0, post_p=3D0x7fffffffb308, gimple_test_f=3D0xeafb80 , fallback=3D0) at /home/marxin/Programming/gcc/gcc/gimplify.cc:16333 #9 0x0000000000ebf4e7 in gimplify_stmt (stmt_p=3D, seq_p=3D0x7fffffffbbb0) at /home/marxin/Programming/gcc/gcc/gimplify.cc:7219 ... (gdb) p debug_tree(decl) unit-size align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7ffff6fe43f0 fields ignored decl_6 BLK /home/marxin/Programming/testcases/ceph.ii:10806:11 size unit-size align:8 warn_if_not_align:0 offset_align 8 decl_not_flexarray: 0 offset bit-offset context chain > context full-name "class std::allocator" needs-constructor needs-destructor X() X(constX&) this=3D(X&) n_par= ents=3D1 use_template=3D3 interface-only pointer_to_this reference_to_this chain > addressable used ignored read BLK /home/marxin/Programming/testcases/ceph.ii:322049:24 size unit-size align:8 warn_if_not_align:0 context >=