public inbox for gcc-rust@gcc.gnu.org
 help / color / mirror / Atom feed
* [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
@ 2023-02-01 13:07 marxin at gcc dot gnu.org
  2023-02-01 13:07 ` [Bug rust/108631] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-02-01 13:07 UTC (permalink / raw)
  To: gcc-rust

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-22 13:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-01 13:07 [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 marxin at gcc dot gnu.org
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

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).