aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Cox <coxs@gnu.org>1996-08-30 19:03:36 +0000
committerStan Cox <coxs@gnu.org>1996-08-30 19:03:36 +0000
commitbe98e7093c94f2c74729a3277e21673f1890fed1 (patch)
treeb28df1f5309bb2e005f1fdc5905681610f5a7a96
parent8584b8661be66e79e3ab77733ab526ea413a88b8 (diff)
downloadgcc-be98e7093c94f2c74729a3277e21673f1890fed1.zip
gcc-be98e7093c94f2c74729a3277e21673f1890fed1.tar.gz
gcc-be98e7093c94f2c74729a3277e21673f1890fed1.tar.bz2
(override_options): Don't thread the prologue if profiling.
From-SVN: r12681
-rw-r--r--gcc/config/i386/i386.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 2eaee7d..8c7569f 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -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;
}
@@ -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;
}