lto.h (lto_global_var_decls): Remove.
authorRichard Biener <rguenther@suse.de>
Wed, 5 Feb 2014 15:23:36 +0000 (15:23 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 5 Feb 2014 15:23:36 +0000 (15:23 +0000)
commitf0f91770c34553275669df72794f5d478ae5fe7c
tree4b1c031686beae28ef49b51378b37ee5fa2a379a
parent6fc595232b90a0f31a02087a152e2741fb0dee8f
lto.h (lto_global_var_decls): Remove.

2014-02-05  Richard Biener  <rguenther@suse.de>

lto/
* lto.h (lto_global_var_decls): Remove.
* lto-lang.c (lto_init): Do not allocate lto_global_var_decls.
(lto_write_globals): Do nothing in WPA stage, gather globals from
the varpool here ...
* lto.c (lto_main): ... not here.
(materialize_cgraph): Do not call rest_of_decl_compilation
on the empty lto_global_var_decls vector.
(lto_global_var_decls): Remove.

From-SVN: r207510
gcc/lto/ChangeLog
gcc/lto/lto-lang.c
gcc/lto/lto.c
gcc/lto/lto.h