Mercurial > hg > CbC > CbC_gcc
diff gcc/cfg.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line diff
--- a/gcc/cfg.c Thu Oct 25 07:37:49 2018 +0900 +++ b/gcc/cfg.c Thu Feb 13 11:34:05 2020 +0900 @@ -1,5 +1,5 @@ /* Control flow graph manipulation code for GNU compiler. - Copyright (C) 1987-2018 Free Software Foundation, Inc. + Copyright (C) 1987-2020 Free Software Foundation, Inc. This file is part of GCC. @@ -546,9 +546,10 @@ DEBUG_FUNCTION void debug (edge_def &ref) { - /* FIXME (crowl): Is this desireable? */ - dump_edge_info (stderr, &ref, TDF_NONE, false); - dump_edge_info (stderr, &ref, TDF_NONE, true); + fprintf (stderr, "<edge (%d -> %d)>\n", + ref.src->index, ref.dest->index); + dump_edge_info (stderr, &ref, TDF_DETAILS, false); + fprintf (stderr, "\n"); } DEBUG_FUNCTION void @@ -1144,7 +1145,7 @@ initialized so passes not needing this don't need to care. */ void -set_loop_copy (struct loop *loop, struct loop *copy) +set_loop_copy (class loop *loop, class loop *copy) { if (!copy) copy_original_table_clear (loop_copy, loop->num); @@ -1154,8 +1155,8 @@ /* Get the copy of LOOP. */ -struct loop * -get_loop_copy (struct loop *loop) +class loop * +get_loop_copy (class loop *loop) { struct htab_bb_copy_original_entry *entry; struct htab_bb_copy_original_entry key;