aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-09-29 23:19:10 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-09-29 21:19:10 +0000
commitf820b0cf2cb6595ed42b16fd1615eb3aec0a6ada (patch)
treeac8d51ac3e224b015d329e29e83234c8093f3647 /gcc/cp
parent2cd5614273c9579fa35eff4b53a773c95b74fc75 (diff)
downloadgcc-f820b0cf2cb6595ed42b16fd1615eb3aec0a6ada.zip
gcc-f820b0cf2cb6595ed42b16fd1615eb3aec0a6ada.tar.gz
gcc-f820b0cf2cb6595ed42b16fd1615eb3aec0a6ada.tar.bz2
re PR c++/12175 (Tru64 UNIX bootstrap failure: multiply defined symbols linking libstdc++.so)
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. From-SVN: r71916
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/except.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index bfb4218..b0f2c9c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-29 Jan Hubicka <jh@suse.cz>
+
+ PR C++/12047
+ * except.c (build_eh_type_type): Call mark_used on the type.
+
2003-09-28 Richard Henderson <rth@redhat.com>
* typeck.c (c_expand_asm_operands): Take location_t, instead of
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 962da96..1dc149a 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);
}