diff options
author | David Malcolm <dmalcolm@redhat.com> | 2016-10-21 13:52:53 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-10-21 13:52:53 +0000 |
commit | e2ce9e83f737d1360167b010fe66fc50cf045307 (patch) | |
tree | 83e521f45ee2d239465d916880470d9b88ade14f /gcc/print-rtl-function.c | |
parent | 6652a944dcf82fe518090e8cb2629b473b70ac5c (diff) | |
download | gcc-e2ce9e83f737d1360167b010fe66fc50cf045307.zip gcc-e2ce9e83f737d1360167b010fe66fc50cf045307.tar.gz gcc-e2ce9e83f737d1360167b010fe66fc50cf045307.tar.bz2 |
Start adding selftests for print_rtx
gcc/ChangeLog:
* print-rtl-function.c (flag_compact): Move extern decl to...
* print-rtl.h (flag_compact): ...here.
* rtl-tests.c (selftests::assert_rtl_dump_eq): New function.
(ASSERT_RTL_DUMP_EQ): New macro.
(selftest::test_dumping_regs): New function.
(selftest::test_dumping_insns): New function.
(selftest::test_uncond_jump): Add uses of ASSERT_RTL_DUMP_EQ on
the insns.
(selftest::rtl_tests_c_tests): Call the new test functions.
From-SVN: r241405
Diffstat (limited to 'gcc/print-rtl-function.c')
-rw-r--r-- | gcc/print-rtl-function.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/print-rtl-function.c b/gcc/print-rtl-function.c index f46304b..7ce1b90 100644 --- a/gcc/print-rtl-function.c +++ b/gcc/print-rtl-function.c @@ -34,8 +34,6 @@ along with GCC; see the file COPYING3. If not see #include "memmodel.h" #include "emit-rtl.h" -extern bool flag_compact; - /* Print an "(edge-from)" or "(edge-to)" directive describing E to OUTFILE. */ |