aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@gcc.gnu.org>2011-11-10 19:17:13 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2011-11-10 19:17:13 +0000
commit1ce1b79265fe104815b98c38ffd3de25a7a5ac3d (patch)
tree8ae542337d47fb9600022dcd2667a0cf55213e7b /gcc/ChangeLog
parentea17de23b70df0b90005582a692705f23d062bec (diff)
downloadgcc-1ce1b79265fe104815b98c38ffd3de25a7a5ac3d.zip
gcc-1ce1b79265fe104815b98c38ffd3de25a7a5ac3d.tar.gz
gcc-1ce1b79265fe104815b98c38ffd3de25a7a5ac3d.tar.bz2
gcov.c (struct function_info): Make src an index, not a pointer.
* gcov.c (struct function_info): Make src an index, not a pointer. (struct source_info): Remove index and next source fields. (fn_end): New static var. (sources_index): Remove. (sources): Now a pointer to an array, not a list. (n_sources, a_sources): New. (process_file): Adjust for changes to read_graph_file. Insert functions into source lists and check line numbers here. (generate_results): Only allocate lines for sources with contents. Adjust for source array. (release_structures): Likewise. (find_source): Return source index, adjust for source array. (read_graph_file): Return function list. Don't insert into source lists here. (read_count_file): Take list of functions. (solve_flow_graph): Reverse the arc lists here. (add_line_counts): Adjust for source array. From-SVN: r181265
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog24
1 files changed, 22 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b07dbca..92cb202 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,23 @@
+2011-11-10 Nathan Sidwell <nathan@acm.org>
+
+ * gcov.c (struct function_info): Make src an index, not a pointer.
+ (struct source_info): Remove index and next source fields.
+ (fn_end): New static var.
+ (sources_index): Remove.
+ (sources): Now a pointer to an array, not a list.
+ (n_sources, a_sources): New.
+ (process_file): Adjust for changes to read_graph_file. Insert
+ functions into source lists and check line numbers here.
+ (generate_results): Only allocate lines for sources with
+ contents. Adjust for source array.
+ (release_structures): Likewise.
+ (find_source): Return source index, adjust for source array.
+ (read_graph_file): Return function list. Don't insert into source
+ lists here.
+ (read_count_file): Take list of functions.
+ (solve_flow_graph): Reverse the arc lists here.
+ (add_line_counts): Adjust for source array.
+
2011-11-10 Jakub Jelinek <jakub@redhat.com>
PR middle-end/51077
@@ -7,8 +27,8 @@
2011-11-10 Andrew MacLeod <amacleod@redhat.com>
PR rtl-optimization/51040
- * optabs.c (expand_atomic_fetch_op): Patchup code for NAND should be AND
- followed by NOT.
+ * optabs.c (expand_atomic_fetch_op): Patchup code for NAND should
+ be AND followed by NOT.
* builtins.c (expand_builtin_atomic_fetch_op): Patchup code for NAND
should be AND followed by NOT.
* testsuite/gcc.dg/atomic-noinline[-aux].c: Test no-inline NAND and