]> git.ipfire.org Git - thirdparty/gcc.git/commit
ipa: Drop the default value of suffix parameter of create_clone (PR119852)
authorMartin Jambor <mjambor@suse.cz>
Tue, 6 May 2025 15:28:44 +0000 (17:28 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Tue, 6 May 2025 15:32:30 +0000 (17:32 +0200)
commit76c882e341cb330a4e9f677a8c3541d573820255
tree2bcc10e667bd78276e36a4ef16e45bddcfb2f801
parent1eaee43dc0c6292ce865b460d52474ca14ea1d71
ipa: Drop the default value of suffix parameter of create_clone (PR119852)

In PR 119852 we agreed that since the NULL-ness of the suffix
parameter should prevent creation of a record in the ipa-clones
dump (which is implemented by a previous patch), it should not default
to NULL.

gcc/ChangeLog:

2025-04-25  Martin Jambor  <mjambor@suse.cz>

PR ipa/119852
* cgraph.h (cgraph_node::create_clone): Remove the default value of
argument suffix.  Update function comment.
* cgraphclones.cc (cgraph_node::create_clone): Update function comment.
* ipa-inline-transform.cc (clone_inlined_nodes): Pass NULL to suffix
of create_clone explicitely.
* ipa-inline.cc (recursive_inlining): Likewise.
* lto-cgraph.cc (input_node): Likewise.
gcc/cgraph.h
gcc/cgraphclones.cc
gcc/ipa-inline-transform.cc
gcc/ipa-inline.cc
gcc/lto-cgraph.cc