public inbox for gcc-rust@gcc.gnu.org
 help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-rust@gcc.gnu.org
Subject: [Bug rust/108631] New: gcc/rust/backend/rust-constexpr.cc:2099:33: error: too few arguments to function ‘tree_node* Rust::Compile::unshare_constructor(tree, const char*, int, const char*)’ with --enable-gather-detailed-mem-stats
Date: Wed, 01 Feb 2023 13:07:13 +0000	[thread overview]
Message-ID: <bug-108631-35322@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 108631
           Summary: gcc/rust/backend/rust-constexpr.cc:2099:33: error: too
                    few arguments to function ‘tree_node*
                    Rust::Compile::unshare_constructor(tree, const char*,
                    int, const char*)’ 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 ‘tree_node*
Rust::Compile::eval_constant_expression(const constexpr_ctx*, tree, bool,
bool*, bool*, tree_node**)’:
../../gcc/rust/backend/rust-constexpr.cc:2099:33: error: too few arguments to
function ‘tree_node* Rust::Compile::unshare_constructor(tree, const char*, int,
const char*)’
 2099 |         r = 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 ‘tree_node* Rust::Compile::unshare_constructor(tree, const char*, int,
const char*)’
 2149 |             init = 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 ‘tree_node*
Rust::Compile::eval_store_expression(const constexpr_ctx*, tree, bool, bool*,
bool*)’:
../../gcc/rust/backend/rust-constexpr.cc:2933:30: error: too few arguments to
function ‘tree_node* Rust::Compile::unshare_constructor(tree, const char*, int,
const char*)’
 2933 |   init = 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 ‘tree_node*
Rust::Compile::eval_call_expression(const constexpr_ctx*, tree, bool, bool*,
bool*)’:
../../gcc/rust/backend/rust-constexpr.cc:3555:45: error: too few arguments to
function ‘tree_node* Rust::Compile::unshare_constructor(tree, const char*, int,
const char*)’
 3555 |                   arg = 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 ‘long int
Rust::Compile::find_array_ctor_elt(tree, tree, bool)’:
../../gcc/rust/backend/rust-constexpr.cc:4282:49: error: too few arguments to
function ‘tree_node* Rust::Compile::unshare_constructor(tree, const char*, int,
const char*)’
 4282 |                   e.value = 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 ‘tree_node* Rust::Compile::unshare_constructor(tree, const char*, int,
const char*)’
 4298 |                   e.value = unshare_constructor (value);
      |                             ~~~~~~~~~~~~~~~~~~~~^~~~~~~
../../gcc/rust/backend/rust-constexpr.cc:4170:1: note: declared here
 4170 | unshare_constructor (tree t MEM_STAT_DECL)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2023-02-01 13:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-01 13:07 marxin at gcc dot gnu.org [this message]
2023-02-01 13:07 ` [Bug rust/108631] " marxin at gcc dot gnu.org
2023-02-09 14:55 ` cohenarthur at gcc dot gnu.org
2023-02-09 15:17 ` marxin at gcc dot gnu.org
2023-02-22 13:22 ` cohenarthur 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-108631-35322@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-rust@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).