projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dd9e1c
)
Fix handling of clones in lto_wpa_write_files [PR98599]
author
Jan Hubicka
<jh@suse.cz>
Thu, 15 Apr 2021 09:40:40 +0000
(11:40 +0200)
committer
Jan Hubicka
<jh@suse.cz>
Thu, 15 Apr 2021 09:40:40 +0000
(11:40 +0200)
2021-04-15 Jan Hubicka <hubicka@ucw.cz>
PR lto/98599
* lto.c (lto_wpa_write_files): Fix handling of clones.
gcc/lto/lto.c
patch
|
blob
|
history
diff --git
a/gcc/lto/lto.c
b/gcc/lto/lto.c
index
ceb61bb
..
5903f75
100644
(file)
--- a/
gcc/lto/lto.c
+++ b/
gcc/lto/lto.c
@@
-306,7
+306,7
@@
lto_wpa_write_files (void)
cgraph_node *node;
/* Do body modifications needed for streaming before we fork out
worker processes. */
- FOR_EACH_FUNCTION
_WITH_GIMPLE_BODY
(node)
+ FOR_EACH_FUNCTION (node)
if (!node->clone_of && gimple_has_body_p (node->decl))
lto_prepare_function_for_streaming (node);