This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r181949 - in /trunk/gcc: ChangeLog doc/gcov.tex...
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 02 Dec 2011 20:32:40 -0000
- Subject: r181949 - in /trunk/gcc: ChangeLog doc/gcov.tex...
Author: nathan
Date: Fri Dec 2 20:32:40 2011
New Revision: 181949
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181949
Log:
* gcov.c (struct arc_info): Add is_throw field.
(struct (block_info): Add exceptional field, reduce flags size to
account for it.
(struct function_info): Add has_catch field.
(struct line_info): Add unexceptional field.
(process_file): Call find_exception_blocks if necessary.
(read_graph_file): Adjust. Note if an exceptional edge is seen.
(find_exception_blocks): New.
(add_line_counts): Set line's unexceptional flag if not
exceptional.
(output_branch_count): Note exceptional arcs, lines and blocks.
* gcov-dump.c (tag_arcs): Decode arc flags.
* doc/gcov.texi: Document '=====' lines.
testsuite/
* lib/gcov.exp (verify-lines): Allow = as a count char.
* g++.dg/gcov/gcov-13.C: New.
Added:
trunk/gcc/testsuite/g++.dg/gcov/gcov-13.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/gcov.texi
trunk/gcc/gcov-dump.c
trunk/gcc/gcov.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/lib/gcov.exp