diff options
author | jfc <jfc@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-17 16:14:09 +0000 |
---|---|---|
committer | jfc <jfc@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-17 16:14:09 +0000 |
commit | 9e5192edc9f9b2d30b69ebbf775e59139d59a196 (patch) | |
tree | bc08309af18e3e3b81d9dde6d23a1abd41673ffe /gcc/rtl.def | |
parent | 3e82d236f23959133707525ad1176390394c56f4 (diff) | |
download | gcc-9e5192edc9f9b2d30b69ebbf775e59139d59a196.tar.gz |
* haifa-sched.c (haifa_classify_insn): TRAP_IF is risky.
(sched_analyze_2): Allow scheduling TRAP_IF.
* reorg.c (mark_referenced_resources): Examine operands of TRAP_IF.
* rtl.h (TRAP_CODE): New macro.
* rtl.def (TRAP_IF): Change second operand type to rtx.
* optabs.c (gen_cond_trap): New function.
(init_traps): New function.
(init_optabs): Call init_traps.
* expr.h: Declare gen_cond_trap.
* jump.c (jump_optimize): Optimize jumps to and around traps.
* sparc.md: Define trap instructions.
* rs6000.md: Define trap instructions.
* rs6000.c (print_operand): New code 'V' for trap condition.
(trap_comparison_operator): New function.
* m88k.md: Update use of TRAP_IF.
* tree.h (enum built_in_function): New function code BUILT_IN_TRAP.
* c-decl.c (init_decl_processing): New builtin __builtin_trap.
* expr.c (expand_builtin): Handle BUILT_IN_TRAP.
* expr.c (expand_builtin): Error if __builtin_longjmp second argument
is not 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20543 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.def')
-rw-r--r-- | gcc/rtl.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.def b/gcc/rtl.def index 6d02c61e29e..e219e87c042 100644 --- a/gcc/rtl.def +++ b/gcc/rtl.def @@ -506,7 +506,7 @@ DEF_RTL_EXPR(RETURN, "return", "", 'x') Operand 1 is the condition. Operand 2 is the trap code. For an unconditional trap, make the condition (const_int 1). */ -DEF_RTL_EXPR(TRAP_IF, "trap_if", "ei", 'x') +DEF_RTL_EXPR(TRAP_IF, "trap_if", "ee", 'x') /* ---------------------------------------------------------------------- Primitive values for use in expressions. |