summaryrefslogtreecommitdiff
path: root/gcc/cp/except.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-08 02:06:26 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-08 02:06:26 +0000
commit8417823c88087a90aa51ce5dde6992d9c7bf8411 (patch)
treeb63320f941aa58f44dbdc20a5d48fb3384cb73c1 /gcc/cp/except.c
parentf7879a29bfa64651af2bbe9b0c3ca085184e99fd (diff)
downloadgcc-8417823c88087a90aa51ce5dde6992d9c7bf8411.tar.gz
massive namespace patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19631 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r--gcc/cp/except.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index d3e9c433244..6a98a13e588 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -217,9 +217,13 @@ init_exception_processing ()
/* void vtype () */
tree vtype = build_function_type (void_type_node, void_list_node);
+ if (flag_honor_std)
+ push_namespace (get_identifier ("std"));
Terminate = auto_function (get_identifier ("terminate"),
vtype, NOT_BUILT_IN);
TREE_THIS_VOLATILE (Terminate) = 1;
+ if (flag_honor_std)
+ pop_namespace ();
push_lang_context (lang_name_c);