(override_options): Don't thread the prologue if profiling.
authorStan Cox <coxs@gnu.org>
Fri, 30 Aug 1996 19:03:36 +0000 (19:03 +0000)
committerStan Cox <coxs@gnu.org>
Fri, 30 Aug 1996 19:03:36 +0000 (19:03 +0000)
From-SVN: r12681

gcc/config/i386/i386.c

index 2eaee7d575e0087f366fc9f8f1507c1e0df5b685..8c7569f3a159176a147c9fe97ffc16f55210527d 100644 (file)
@@ -310,7 +310,8 @@ override_options ()
     flag_omit_frame_pointer = 1;
 
   /* pic references don't explicitly mention pic_offset_table_rtx */
-  if (flag_pic)
+  /* code threaded into the prologue may conflict with profiling */
+  if (flag_pic || profile_flag || profile_block_flag)
     target_flags &= ~MASK_SCHEDULE_PROLOGUE;
 }
 \f
@@ -3619,6 +3620,7 @@ output_float_compare (insn, operands)
          xops[0] = operands[0];
          xops[1] = operands[1];
          xops[2] = operands[0];
+         
          output_asm_insn (strcat (buf, AS2 (%z1,%y1,%2)), xops);
          RET;
        }