From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4A9C13858D35; Wed, 1 Feb 2023 13:07:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4A9C13858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675256834; bh=N4vC/BjpKadjBZX07DA73frXroFmRci6kMxv2h788JE=; h=From:To:Subject:Date:From; b=BOEXBWEEAUn7zD1wa8A6rbLLUd3U7U8Er4fwUlFeZEaDg1xMqIlylCXqkPz3wUzR/ XGHU2zdfjyQw3xCtXj7Y1OVVBKCmAFtakCQAgR2b8yeiRjxIbGDdA0Z/YbrkepSm74 j4MGQen38L1yNwnZvkmrFuLjKoBIfLx0csoKgm0I= From: "marxin at gcc dot gnu.org" To: gcc-rust@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBydXN0LzEwODYzMV0gTmV3OiBnY2MvcnVzdC9iYWNrZW5k?= =?UTF-8?B?L3J1c3QtY29uc3RleHByLmNjOjIwOTk6MzM6IGVycm9yOiB0b28gZmV3IGFy?= =?UTF-8?B?Z3VtZW50cyB0byBmdW5jdGlvbiDigJh0cmVlX25vZGUqIFJ1c3Q6OkNvbXBp?= =?UTF-8?B?bGU6OnVuc2hhcmVfY29uc3RydWN0b3IodHJlZSwgY29uc3QgY2hhciosIGlu?= =?UTF-8?B?dCwgY29uc3QgY2hhciop4oCZIHdpdGggLS1lbmFibGUtZ2F0aGVyLWRldGFp?= =?UTF-8?B?bGVkLW1lbS1zdGF0cw==?= Date: Wed, 01 Feb 2023 13:07:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rust X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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=3D108631 Bug ID: 108631 Summary: gcc/rust/backend/rust-constexpr.cc:2099:33: error: too few arguments to function =E2=80=98tree_node* Rust::Compile::unshare_constructor(tree, const char*, int, const char*)=E2=80=99 with --enable-gather-detailed-mem-stats Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rust Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: cohenarthur at gcc dot gnu.org, dkm at gcc dot gnu.org, gcc-rust at gcc dot gnu.org Target Milestone: --- With --enable-gather-detailed-mem-stats enabled I get since r13-5533-ge66fec8e6ba35e: ../../gcc/rust/backend/rust-constexpr.cc: In function =E2=80=98tree_node* Rust::Compile::eval_constant_expression(const constexpr_ctx*, tree, bool, bool*, bool*, tree_node**)=E2=80=99: ../../gcc/rust/backend/rust-constexpr.cc:2099:33: error: too few arguments = to function =E2=80=98tree_node* Rust::Compile::unshare_constructor(tree, const= char*, int, const char*)=E2=80=99 2099 | r =3D unshare_constructor (r); | ~~~~~~~~~~~~~~~~~~~~^~~ ../../gcc/rust/backend/rust-constexpr.cc:87:1: note: declared here 87 | unshare_constructor (tree t MEM_STAT_DECL); | ^~~~~~~~~~~~~~~~~~~ ../../gcc/rust/backend/rust-constexpr.cc:2149:40: error: too few arguments = to function =E2=80=98tree_node* Rust::Compile::unshare_constructor(tree, const= char*, int, const char*)=E2=80=99 2149 | init =3D unshare_constructor (init); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../gcc/rust/backend/rust-constexpr.cc:87:1: note: declared here 87 | unshare_constructor (tree t MEM_STAT_DECL); | ^~~~~~~~~~~~~~~~~~~ ../../gcc/rust/backend/rust-constexpr.cc: In function =E2=80=98tree_node* Rust::Compile::eval_store_expression(const constexpr_ctx*, tree, bool, bool= *, bool*)=E2=80=99: ../../gcc/rust/backend/rust-constexpr.cc:2933:30: error: too few arguments = to function =E2=80=98tree_node* Rust::Compile::unshare_constructor(tree, const= char*, int, const char*)=E2=80=99 2933 | init =3D unshare_constructor (init); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../gcc/rust/backend/rust-constexpr.cc:87:1: note: declared here 87 | unshare_constructor (tree t MEM_STAT_DECL); | ^~~~~~~~~~~~~~~~~~~ ../../gcc/rust/backend/rust-constexpr.cc: In function =E2=80=98tree_node* Rust::Compile::eval_call_expression(const constexpr_ctx*, tree, bool, bool*, bool*)=E2=80=99: ../../gcc/rust/backend/rust-constexpr.cc:3555:45: error: too few arguments = to function =E2=80=98tree_node* Rust::Compile::unshare_constructor(tree, const= char*, int, const char*)=E2=80=99 3555 | arg =3D unshare_constructor (arg); | ~~~~~~~~~~~~~~~~~~~~^~~~~ ../../gcc/rust/backend/rust-constexpr.cc:87:1: note: declared here 87 | unshare_constructor (tree t MEM_STAT_DECL); | ^~~~~~~~~~~~~~~~~~~ ../../gcc/rust/backend/rust-constexpr.cc: In function =E2=80=98long int Rust::Compile::find_array_ctor_elt(tree, tree, bool)=E2=80=99: ../../gcc/rust/backend/rust-constexpr.cc:4282:49: error: too few arguments = to function =E2=80=98tree_node* Rust::Compile::unshare_constructor(tree, const= char*, int, const char*)=E2=80=99 4282 | e.value =3D unshare_constructor (value); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../../gcc/rust/backend/rust-constexpr.cc:4170:1: note: declared here 4170 | unshare_constructor (tree t MEM_STAT_DECL) | ^~~~~~~~~~~~~~~~~~~ ../../gcc/rust/backend/rust-constexpr.cc:4298:49: error: too few arguments = to function =E2=80=98tree_node* Rust::Compile::unshare_constructor(tree, const= char*, int, const char*)=E2=80=99 4298 | e.value =3D unshare_constructor (value); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../../gcc/rust/backend/rust-constexpr.cc:4170:1: note: declared here 4170 | unshare_constructor (tree t MEM_STAT_DECL) --=20 You are receiving this mail because: You are on the CC list for the bug.=