diff options
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 5e819fbc178..95ef7a292e9 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -795,6 +795,10 @@ int flag_verbose_asm = 0; int flag_debug_asm = 0; +/* -dP causes the rtl to be emitted as a comment in assembly. */ + +int flag_dump_rtl_in_asm = 0; + /* -fgnu-linker specifies use of the GNU linker for initializations. (Or, more generally, a linker that handles initializations.) -fno-gnu-linker says that collect2 will be used. */ @@ -3970,6 +3974,10 @@ decode_d_option (arg) case 'p': flag_print_asm_name = 1; break; + case 'P': + flag_dump_rtl_in_asm = 1; + flag_print_asm_name = 1; + break; case 'v': graph_dump_format = vcg; break; |