diff options
Diffstat (limited to 'gcc/gimple-pretty-print.c')
-rw-r--r-- | gcc/gimple-pretty-print.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c index 8be4041..39c5775 100644 --- a/gcc/gimple-pretty-print.c +++ b/gcc/gimple-pretty-print.c @@ -3059,23 +3059,6 @@ gimple_dump_bb_for_graph (pretty_printer *pp, basic_block bb) pp_write_text_as_dot_label_to_stream (pp, /*for_record=*/true); } - -/* Handle the %G format for TEXT. Same as %K in handle_K_format in - tree-pretty-print.c but with a Gimple statement as an argument. */ - -void -percent_G_format (text_info *text) -{ - gimple *stmt = va_arg (*text->args_ptr, gimple*); - - /* Fall back on the rich location if the statement doesn't have one. */ - location_t loc = gimple_location (stmt); - if (loc == UNKNOWN_LOCATION) - loc = text->m_richloc->get_loc (); - tree block = gimple_block (stmt); - percent_K_format (text, loc, block); -} - #if __GNUC__ >= 10 # pragma GCC diagnostic pop #endif |