projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af0d0f5
)
* lto.c (lto_wpa_write_files): Do not update bodies of clones.
author
Jan Hubicka
<hubicka@ucw.cz>
Sun, 13 Oct 2019 08:34:10 +0000
(10:34 +0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Sun, 13 Oct 2019 08:34:10 +0000
(08:34 +0000)
From-SVN: r276935
gcc/lto/ChangeLog
patch
|
blob
|
history
gcc/lto/lto.c
patch
|
blob
|
history
diff --git
a/gcc/lto/ChangeLog
b/gcc/lto/ChangeLog
index 5ad79e821adff6c38a36275a245910f8c792ba89..2ef4a87da762745be314cb50af8f9fbe8b8c6aee 100644
(file)
--- a/
gcc/lto/ChangeLog
+++ b/
gcc/lto/ChangeLog
@@
-1,3
+1,7
@@
+2019-10-12 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto.c (lto_wpa_write_files): Do not update bodies of clones.
+
2019-10-11 Jan Hubicka <hubicka@ucw.cz>
* lto.c (lto_wpa_write_files): Call ggc_trim.
diff --git
a/gcc/lto/lto.c
b/gcc/lto/lto.c
index 5aa143859d5991ae2d679d78bc8f4a8baa3e8fb7..4f404ec08f8e5f5fe22eaa836318647497341363 100644
(file)
--- a/
gcc/lto/lto.c
+++ b/
gcc/lto/lto.c
@@
-308,7
+308,7
@@
lto_wpa_write_files (void)
/* Do body modifications needed for streaming before we fork out
worker processes. */
FOR_EACH_FUNCTION_WITH_GIMPLE_BODY (node)
- if (gimple_has_body_p (node->decl))
+ if (
!node->clone_of &&
gimple_has_body_p (node->decl))
lto_prepare_function_for_streaming (node);
ggc_trim ();