https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115465

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
          pretty_printer rtl_slim_pp;
          rtl_slim_pp.buffer->stream = dump_file;
          print_insn (&rtl_slim_pp, insn, 1);
          pp_flush (&rtl_slim_pp);
          fprintf (dump_file, "\n");


There seems to be a better way of implement this than the above too.

Maybe change dump_insn_slim to take an bool argument that defaults to true and
then if it was false use print_insn instead of print_insn_with_notes.

Reply via email to