diff options
author | David Malcolm <dmalcolm@redhat.com> | 2016-10-12 14:59:56 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-10-12 14:59:56 +0000 |
commit | 4b77ac40f0fe35d541914de0227b5c37d88c619c (patch) | |
tree | 6f600c5fed34a8cdcd35c7c128cf15b652125813 /gcc/function.c | |
parent | 2934018d2785fa77b1e1e4fdd5c92139210b5056 (diff) | |
download | gcc-4b77ac40f0fe35d541914de0227b5c37d88c619c.zip gcc-4b77ac40f0fe35d541914de0227b5c37d88c619c.tar.gz gcc-4b77ac40f0fe35d541914de0227b5c37d88c619c.tar.bz2 |
print_rtx_function: integrate dumping of the CFG into the insn chain
gcc/ChangeLog:
* function-tests.c: Include "print-rtl.h".
(selftest::test_expansion_to_rtl): Call print_rtx_function on the
function, and verify what is dumped.
* print-rtl-function.c (print_edge): New function.
(begin_any_block): New function.
(end_any_block): New function.
(can_have_basic_block_p): New function.
(print_rtx_function): Track the basic blocks of insns in the
chain, wrapping those that are within blocks within "(block)"
directives. Remove the "(cfg)" directive.
From-SVN: r241057
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions