varasm.c (default_file_start): Suppress ASM_APP_OFF also with -dA and -dP.
authorAndreas Schwab <schwab@suse.de>
Sat, 22 Nov 2008 22:19:29 +0000 (22:19 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Sat, 22 Nov 2008 22:19:29 +0000 (22:19 +0000)
* varasm.c (default_file_start): Suppress ASM_APP_OFF also with
-dA and -dP.

From-SVN: r142126

gcc/ChangeLog
gcc/varasm.c

index 68b6414..9a31e89 100644 (file)
@@ -1,3 +1,8 @@
+2008-11-22  Andreas Schwab  <schwab@suse.de>
+
+       * varasm.c (default_file_start): Suppress ASM_APP_OFF also with
+       -dA and -dP.
+
 2008-11-22  Adam Nemet  <anemet@caviumnetworks.com>
 
        * config/mips/mips.md (rdhwr): Rename to rdhwr_synci_step_<mode>.
index 4fe3c96..7d6b86f 100644 (file)
@@ -6394,7 +6394,8 @@ default_internal_label (FILE *stream, const char *prefix,
 void
 default_file_start (void)
 {
-  if (targetm.file_start_app_off && !flag_verbose_asm)
+  if (targetm.file_start_app_off
+      && !(flag_verbose_asm || flag_debug_asm || flag_dump_rtl_in_asm))
     fputs (ASM_APP_OFF, asm_out_file);
 
   if (targetm.file_start_file_directive)