aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-12-22 23:57:08 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-12-22 23:57:08 +0000
commit7813d14ccc5089fc5ef8eceb5377f41ab6a9844d (patch)
treebfd19fff8d2b9d5fc60b710cb3426bd7f1df5b92 /gcc/c-common.c
parent1c8cfe03512a84981824b03079a09237503e3898 (diff)
downloadgcc-7813d14ccc5089fc5ef8eceb5377f41ab6a9844d.zip
gcc-7813d14ccc5089fc5ef8eceb5377f41ab6a9844d.tar.gz
gcc-7813d14ccc5089fc5ef8eceb5377f41ab6a9844d.tar.bz2
re PR c++/12862 (Conflicts Between typedefs/enums and Namespace Member Declarations)
* c-common.c (flag_external_templates): Remove. (flag_alt_external_templates): Likewise. * c-common.h (flag_external_templates): Remove. (flag_alt_external_templates): Likewise. * c-opts.c (c_common_handle_option): Unsupport -falt-external-templates and -ftemplates. * doc/invoke.texi: Remove mention of -fexternal-templates and -falt-external-templates. * decl.c (start_function): Do not check flag_alt_external_templates or flag_external_templates. * decl2.c (warn_if_unknown_interface): Likewise. * lex.c (extract_interface_info): Likewise. * pt.c (lookup_template_class): Likewise. PR c++/12862 * name-lookup.c (pushdecl): Look up all namespace-scope entities in their corresponding namespace. * g++.old-deja/g++.jason/template18.C: Remove. * g++.old-deja/g++.jason/template37.C: Likewise. PR c++/12862 * g++.dg/lookup/ns1.C: New test. From-SVN: r74954
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index a52a3cb..ce90433 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -510,17 +510,6 @@ int flag_no_gnu_keywords;
int flag_implement_inlines = 1;
-/* Nonzero means do emit exported implementations of templates, instead of
- multiple static copies in each file that needs a definition. */
-
-int flag_external_templates;
-
-/* Nonzero means that the decision to emit or not emit the implementation of a
- template depends on where the template is instantiated, rather than where
- it is defined. */
-
-int flag_alt_external_templates;
-
/* Nonzero means that implicit instantiations will be emitted if needed. */
int flag_implicit_templates = 1;