I didn't find any dump_rtx - instead, I used print_inline_rtx which seems to be what we need to output to stdout, instead of stderr. Updated version of the patch is attached. Ok for trunk? Changelog: 2012-11-30 Michael Zolotukhin * Makefile.in: Add target mddump, build/genmddump.o. Extend genprogrtl with mddump. * genmddump.c: New. --- Thanks, Michael On 29 November 2012 22:36, Richard Henderson wrote: > On 2012-11-28 23:22, Michael Zolotukhin wrote: >> + debug_rtx (desc); > > ... oh, I see. You wanted dump_rtx here, so you can output to stdout. > > > r~ -- --- Best regards, Michael V. Zolotukhin, Software Engineer Intel Corporation.