summaryrefslogtreecommitdiff
path: root/gcc/cp/except.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-29 21:19:10 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-29 21:19:10 +0000
commitf01f20801d56a91fafd44bbdfb6ea691cd065046 (patch)
treeac8d51ac3e224b015d329e29e83234c8093f3647 /gcc/cp/except.c
parentf224753cb06317eaa457fc339ad9b10159371387 (diff)
downloadgcc-f01f20801d56a91fafd44bbdfb6ea691cd065046.tar.gz
PR c++/12175
* varasm.c (notice_global_symbol): Discard external symbols. PR optimization/12286 * gcov-io.c (gcov_read_words): Fix memmove call. * profile.c (compute_branch_probabilities): Add extra sanity checks. PR C++/12047 * except.c (build_eh_type_type): Call mark_used on the type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71916 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r--gcc/cp/except.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 962da966b49..1dc149a8685 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -143,6 +143,8 @@ build_eh_type_type (tree type)
if (!exp)
return NULL;
+ mark_used (exp);
+
return build1 (ADDR_EXPR, ptr_type_node, exp);
}