On Thu, Nov 03, 2016 at 04:51:05PM +0800, Jun Koi wrote: > hi, > > i am using GCC v5.4 on Ubuntu 16.04, x86-64 edition. > > i run "gcc -dp -dP helloworld.c", and expect to get RTL with assembler > output as comment between instructions. to my surprise, there is no > new dump file created, even though the program is successfully > compiled. > > my question: why "-dp -dP" does not work? what do i need to do to have > them work as expected? I'd think that the option is working as expected, but you are not keeping the assembly files, so you never see the comment. Try adding -save-temps or stopping the driver after compilation by using -S. Thanks, James