aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2016-02-15 09:30:31 +0000
committerTom de Vries <vries@gcc.gnu.org>2016-02-15 09:30:31 +0000
commited5d948da920f8de6041b7010625cfeff7014203 (patch)
tree24bbedf25b4db21dabf774f9f1f9752681a677a7 /gcc/lto
parent1c48bff185df422d6f9f980fd02466606be2ccd4 (diff)
downloadgcc-ed5d948da920f8de6041b7010625cfeff7014203.zip
gcc-ed5d948da920f8de6041b7010625cfeff7014203.tar.gz
gcc-ed5d948da920f8de6041b7010625cfeff7014203.tar.bz2
Don't mark offload symbols with force_output in ltrans
2016-02-15 Tom de Vries <tom@codesourcery.com> PR lto/69655 * lto-cgraph.c (input_offload_tables): Add and handle bool parameter do_force_output. * lto-streamer.h (input_offload_tables): Add and handle bool parameter. * lto.c (read_cgraph_and_symbols): Call input_offload_tables with argument. From-SVN: r233419
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog6
-rw-r--r--gcc/lto/lto.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 43faaf4..6496fd9 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,9 @@
+2016-02-15 Tom de Vries <tom@codesourcery.com>
+
+ PR lto/69655
+ * lto.c (read_cgraph_and_symbols): Call input_offload_tables with
+ argument.
+
2016-01-27 Martin Liska <mliska@suse.cz>
* lto-partition.c (add_symbol_to_partition_1): Remove usage
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index 6718fbbe..9dd513f 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -2855,7 +2855,7 @@ read_cgraph_and_symbols (unsigned nfiles, const char **fnames)
/* Read the symtab. */
input_symtab ();
- input_offload_tables ();
+ input_offload_tables (!flag_ltrans);
/* Store resolutions into the symbol table. */