aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@gcc.gnu.org>2009-11-13 16:57:14 +0100
committerDodji Seketeli <dodji@gcc.gnu.org>2009-11-13 16:57:14 +0100
commita3119b91dc67118b407a742b03279a14dc6fa5ec (patch)
treefcd3ffe74388a153e9d268c7285b61da98b31fdc
parent8ad7097c112322eb6048f6d465b540676b0d2d2e (diff)
downloadgcc-a3119b91dc67118b407a742b03279a14dc6fa5ec.zip
gcc-a3119b91dc67118b407a742b03279a14dc6fa5ec.tar.gz
gcc-a3119b91dc67118b407a742b03279a14dc6fa5ec.tar.bz2
Forgot to add gcc/ChangeLog entry for debug/41065
From-SVN: r154154
-rw-r--r--gcc/ChangeLog28
1 files changed, 28 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8eb3d84..02fa62b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -5212,6 +5212,34 @@
mode. Use it to convert addresses to other modes. Accept
ptr_mode addresses.
+2009-09-23 Dodji Seketeli <dodji@redhat.com>
+
+ PR debug/41065
+ * function.h (types_used_by_vars_hash): Declare new hash table.
+ (types_used_by_vars_eq, types_used_by_var_decl_insert): Declare
+ equality and hash function for the hash table.
+ (types_used_by_cur_var_decl): Declare a new global chained list.
+ (types_used_by_var_decl_insert): Declare new function.
+ * function.c (types_used_by_vars_hash): Define the hashtable ...
+ (types_used_by_vars_eq, types_used_by_vars_do_hash): ... as well as
+ its equality and hash functions.
+ (hash_types_used_by_vars_entry): New hash helper.
+ (types_used_by_cur_var_decl): Define the global chained list.
+ (used_types_insert): Update the list of types used by the global
+ variable being parsed.
+ (types_used_by_var_decl_insert): Define new function.
+ * c-common.h (record_types_used_by_current_var_decl): Declare ...
+ * c-common.c (record_types_used_by_current_var_decl): ... new
+ function.
+ * c-decl.c (finish_decl): Record the types used by the global
+ variable declaration we've just parsed.
+ * dwarf2out.c (premark_used_types): Insert a new line between
+ comment and function.
+ (premark_used_types_helper): Fix comment.
+ (premark_types_used_by_global_vars_helper,
+ premark_types_used_by_global_vars): New functions.
+ (prune_unused_types): Do not prune types used by global variables.
+
2009-09-23 Richard Guenther <rguenther@suse.de>
* alias.c (ao_ref_from_mem): Correct for negative MEM_OFFSET