This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix materialization wrt multiple decls with same assembler name


On 10-08-20 07:54 , Jan Hubicka wrote:

	* lto/lto.c (has_analyzed_clone_p): New function
	(lto_materialize_function): Use callgraph to determine if
	body is needed.
	(materialize_cgraph): Remove DECL_IS_BUILTIN check.

OK with


Index: lto/lto.c
===================================================================
--- lto/lto.c	(revision 163374)
+++ lto/lto.c	(working copy)
@@ -117,6 +117,34 @@ lto_materialize_constructors_and_inits (
  			 data, len);
  }

+/* Return true when NODE has clone that is analyzed (i.e. we need

s/has clone/has a clone/



Diego.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]