diff options
author | Stan Cox <coxs@gnu.org> | 1996-08-30 19:03:36 +0000 |
---|---|---|
committer | Stan Cox <coxs@gnu.org> | 1996-08-30 19:03:36 +0000 |
commit | be98e7093c94f2c74729a3277e21673f1890fed1 (patch) | |
tree | b28df1f5309bb2e005f1fdc5905681610f5a7a96 | |
parent | 8584b8661be66e79e3ab77733ab526ea413a88b8 (diff) | |
download | gcc-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.c | 4 |
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; } |