Remove support for repo files (PR c++/91125).
authorMartin Liska <mliska@suse.cz>
Fri, 6 Sep 2019 06:58:42 +0000 (08:58 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 6 Sep 2019 06:58:42 +0000 (06:58 +0000)
commit67f6e64994b49ec330708e1655065dbd9741e1d6
tree46ebc6701f5d6390841af0ca16cc9e0c51bf23e2
parentebd247d4b3813f3d1ab83d04e338ed566d10de3e
Remove support for repo files (PR c++/91125).

2019-09-06  Martin Liska  <mliska@suse.cz>

PR c++/91125
* Makefile.in: Remove tlink.o.
* collect2.c (do_link): New function isolated
from do_tlink.
(main): Use.
* collect2.h (do_tlink): Remove declaration of do_tlink.
* doc/extend.texi: Remove documentation of -frepo.
* doc/invoke.texi: Likewise.
* doc/sourcebuild.texi: Remove cleanup-repo-files.
* tlink.c: Remove.
2019-09-06  Martin Liska  <mliska@suse.cz>

PR c++/91125
* c-common.c: Remove definition of flag_use_repository.
* c-common.h: Likewise.
* c-opts.c (c_common_handle_option):
Do not handle OPT_frepo option.
* c.opt: Mark the option with Deprecated.
2019-09-06  Martin Liska  <mliska@suse.cz>

PR c++/91125
* Make-lang.in: Remove repo.o.
* config-lang.in: Likewise.
* cp-tree.h (init_repo): Remove declarations
of repo-related functions.
(repo_emit_p): Likewise.
(repo_export_class_p): Likewise.
(finish_repo): Likewise.
* decl2.c (import_export_class): Always
set -1 value/
(mark_needed): Remove -frepo from comment.
(import_export_decl): Similarly here.
(c_parse_final_cleanups): Remove call of finish_repo.
* lex.c (cxx_init): Remove call to init_repo.
* optimize.c (can_alias_cdtor): Remove dead condition.
* pt.c (push_template_decl_real): Update comment.
(instantiate_decl): Remove dead code used for -frepo.
* repo.c: Remove.
2019-09-06  Martin Liska  <mliska@suse.cz>

PR c++/91125
* g++.dg/parse/repo1.C: Remove.
* g++.dg/rtti/repo1.C: Remove.
* g++.dg/template/repo1.C: Remove.
* g++.dg/template/repo10.C: Remove.
* g++.dg/template/repo11.C: Remove.
* g++.dg/template/repo2.C: Remove.
* g++.dg/template/repo3.C: Remove.
* g++.dg/template/repo4.C: Remove.
* g++.dg/template/repo5.C: Remove.
* g++.dg/template/repo6.C: Remove.
* g++.dg/template/repo7.C: Remove.
* g++.dg/template/repo8.C: Remove.
* g++.dg/template/repo9.C: Remove.
* g++.old-deja/g++.pt/instantiate4.C: Remove.
* g++.old-deja/g++.pt/instantiate6.C: Remove.
* g++.old-deja/g++.pt/repo1.C: Remove.
* g++.old-deja/g++.pt/repo2.C: Remove.
* g++.old-deja/g++.pt/repo3.C: Remove.
* g++.old-deja/g++.pt/repo4.C: Remove.
* lib/g++.exp: Remove removal of repo files.
* lib/gcc-dg.exp: Likewise.
* lib/obj-c++.exp: Likewise.

From-SVN: r275450
45 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c-family/c-common.h
gcc/c-family/c-opts.c
gcc/c-family/c.opt
gcc/collect2.c
gcc/collect2.h
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/config-lang.in
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/lex.c
gcc/cp/optimize.c
gcc/cp/pt.c
gcc/cp/repo.c [deleted file]
gcc/doc/extend.texi
gcc/doc/invoke.texi
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/repo1.C [deleted file]
gcc/testsuite/g++.dg/rtti/repo1.C [deleted file]
gcc/testsuite/g++.dg/template/repo1.C [deleted file]
gcc/testsuite/g++.dg/template/repo10.C [deleted file]
gcc/testsuite/g++.dg/template/repo11.C [deleted file]
gcc/testsuite/g++.dg/template/repo2.C [deleted file]
gcc/testsuite/g++.dg/template/repo3.C [deleted file]
gcc/testsuite/g++.dg/template/repo4.C [deleted file]
gcc/testsuite/g++.dg/template/repo5.C [deleted file]
gcc/testsuite/g++.dg/template/repo6.C [deleted file]
gcc/testsuite/g++.dg/template/repo7.C [deleted file]
gcc/testsuite/g++.dg/template/repo8.C [deleted file]
gcc/testsuite/g++.dg/template/repo9.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/instantiate4.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/instantiate6.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/repo1.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/repo2.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/repo3.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/repo4.C [deleted file]
gcc/testsuite/lib/g++.exp
gcc/testsuite/lib/gcc-dg.exp
gcc/testsuite/lib/obj-c++.exp
gcc/tlink.c [deleted file]