aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto/lto.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-09-06 09:06:25 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2013-09-06 09:06:25 +0000
commit35f32ad4a7d3e4e0d8d508884d7b2dffb749e759 (patch)
tree852353295684f8092f28c4fd813d395a1e59bd0a /gcc/lto/lto.h
parentd12a76f3ec0d4f3010be7b3f335136247b44014a (diff)
downloadgcc-35f32ad4a7d3e4e0d8d508884d7b2dffb749e759.zip
gcc-35f32ad4a7d3e4e0d8d508884d7b2dffb749e759.tar.gz
gcc-35f32ad4a7d3e4e0d8d508884d7b2dffb749e759.tar.bz2
lto-streamer.h (lto_global_var_decls): Remove.
2013-09-06 Richard Biener <rguenther@suse.de> * lto-streamer.h (lto_global_var_decls): Remove. * Makefile.in (OBJS): Remove lto-symtab.o. (lto-symtab.o): Remove. (GTFILES): Remove lto-symtab.c * lto-symtab.c: Move to lto/ lto/ * lto-symtab.c: Move from gcc/ * lto.h: Include vec.h. (lto_global_var_decls): Declare. * lto.c (lto_global_var_decls): Move definition here. * Make-lang.in (LTO_OBJS): Add lto-symtab.o. (lto-symtab.o): Add. * config-lang.in (gtfiles): Add lto.h. From-SVN: r202313
Diffstat (limited to 'gcc/lto/lto.h')
-rw-r--r--gcc/lto/lto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/lto/lto.h b/gcc/lto/lto.h
index 2699459..1734fe5 100644
--- a/gcc/lto/lto.h
+++ b/gcc/lto/lto.h
@@ -22,6 +22,7 @@ along with GCC; see the file COPYING3. If not see
#define LTO_H
#include "hashtab.h"
+#include "vec.h"
/* A file. */
typedef struct lto_file_struct
@@ -40,6 +41,9 @@ extern tree lto_eh_personality (void);
extern void lto_main (void);
extern void lto_read_all_file_options (void);
+/* In lto-symtab.c */
+extern GTY(()) vec<tree, va_gc> *lto_global_var_decls;
+
/* In lto-elf.c or lto-coff.c */
extern lto_file *lto_obj_file_open (const char *filename, bool writable);
extern void lto_obj_file_close (lto_file *file);