diff options
author | Richard Biener <rguenther@suse.de> | 2013-09-06 09:06:25 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2013-09-06 09:06:25 +0000 |
commit | 35f32ad4a7d3e4e0d8d508884d7b2dffb749e759 (patch) | |
tree | 852353295684f8092f28c4fd813d395a1e59bd0a /gcc/lto/lto.h | |
parent | d12a76f3ec0d4f3010be7b3f335136247b44014a (diff) | |
download | gcc-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.h | 4 |
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); |