public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4826] When doing WPA in incremental link pass down resolution info.
@ 2022-12-21 11:44 Jan Hubicka
0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2022-12-21 11:44 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6bfc384f559e448f0f93603a46c41ad9dd34f890
commit r13-4826-g6bfc384f559e448f0f93603a46c41ad9dd34f890
Author: Jan Hubicka <jh@suse.cz>
Date: Wed Dec 21 12:44:11 2022 +0100
When doing WPA in incremental link pass down resolution info.
* lto-cgraph.cc (lto_output_node): When doing WPA in incremental link
pass down resolution info.
Diff:
---
gcc/lto-cgraph.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/lto-cgraph.cc b/gcc/lto-cgraph.cc
index 11079b0f0f0..ad0005f01d2 100644
--- a/gcc/lto-cgraph.cc
+++ b/gcc/lto-cgraph.cc
@@ -563,7 +563,8 @@ lto_output_node (struct lto_simple_output_block *ob, struct cgraph_node *node,
LDPR_NUM_KNOWN,
/* When doing incremental link, we will get new resolution
info next time we process the file. */
- flag_incremental_link ? LDPR_UNKNOWN : node->resolution);
+ flag_incremental_link == INCREMENTAL_LINK_LTO
+ ? LDPR_UNKNOWN : node->resolution);
bp_pack_value (&bp, node->split_part, 1);
streamer_write_bitpack (&bp);
streamer_write_data_stream (ob->main_stream, section, strlen (section) + 1);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-21 11:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-21 11:44 [gcc r13-4826] When doing WPA in incremental link pass down resolution info Jan Hubicka
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).