aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-06-06 23:20:43 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2002-06-06 21:20:43 +0000
commit0d682900c62864d3a11399087144d72c27a88c73 (patch)
treefaa2390f8f70ae3e60f4e184669ef5304b7cb309 /gcc/recog.c
parentc991649cef7449cefc631fcbcf54c5fd181661c2 (diff)
downloadgcc-0d682900c62864d3a11399087144d72c27a88c73.zip
gcc-0d682900c62864d3a11399087144d72c27a88c73.tar.gz
gcc-0d682900c62864d3a11399087144d72c27a88c73.tar.bz2
i386.md (and promoting splitters): Disable QI to SImode promoting when doing so changes immediate to be 32bit.
* i386.md (and promoting splitters): Disable QI to SImode promoting when doing so changes immediate to be 32bit. * rtl.h (emit_*_scope): Declare. * emit-rtl.c (emit_*_scope): New global functions. (try_split): Copy scope. * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants, noce_try_flag_inc, noce_try_store_flag_mask, noce_try_cmove, noce_try_cmove_arith, noce_try_minmax, noce_try_abs, noce_process_if_block, find_cond_trap): Copy scopes. * recog.c (peephole2_optimize): likewise. From-SVN: r54327
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 6ad82ee..cbc691d 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -3133,7 +3133,8 @@ peephole2_optimize (dump_file)
REG_EH_REGION, NULL_RTX);
/* Replace the old sequence with the new. */
- try = emit_insn_after (try, peep2_insn_data[i].insn);
+ try = emit_insn_after_scope (try, peep2_insn_data[i].insn,
+ INSN_SCOPE (peep2_insn_data[i].insn));
before_try = PREV_INSN (insn);
delete_insn_chain (insn, peep2_insn_data[i].insn);