diff options
author | dalecki <dalecki@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-31 04:44:14 +0000 |
---|---|---|
committer | dalecki <dalecki@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-31 04:44:14 +0000 |
commit | 8ec3c5c2f80dd6d2561899354c2d9d1d66551f12 (patch) | |
tree | 192fa663854a8c88d61fa5a51c2091381047e15d /gcc/dojump.c | |
parent | f942e0529244dccabdfc96b9ab5723f4c7b9e092 (diff) | |
download | gcc-8ec3c5c2f80dd6d2561899354c2d9d1d66551f12.tar.gz |
2006-01-30 Marcin Dalecki <martin@dalecki.de>
* expr.h (expand_normal): new inline function.
* builtins.c: use it, use EXPAND_NORMAL explicitely.
* dojump.c: use it.
* dwarf2out.c: use it.
* expr.c: use it.
* calls.c: use it.
* expmed.c: use it.
* except.c: use it.
* config/sparc/sparc.c: use it.
* config/i386/i386.c: use it.
* config/rs6000/rs6000.c: use it.
* config/arm/arm.c: use it.
* config/mips/mips.c: use it.
* stmt.c: use it, use EXPAND_NORMAL explicitely.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110428 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dojump.c')
-rw-r--r-- | gcc/dojump.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/dojump.c b/gcc/dojump.c index d65347ec67c..e214091510e 100644 --- a/gcc/dojump.c +++ b/gcc/dojump.c @@ -584,7 +584,7 @@ do_jump (tree exp, rtx if_false_label, rtx if_true_label) /* Fall through and generate the normal code. */ default: normal: - temp = expand_expr (exp, NULL_RTX, VOIDmode, 0); + temp = expand_normal (exp); do_pending_stack_adjust (); if (GET_CODE (temp) == CONST_INT @@ -636,8 +636,8 @@ static void do_jump_by_parts_greater (tree exp, int swap, rtx if_false_label, rtx if_true_label) { - rtx op0 = expand_expr (TREE_OPERAND (exp, swap), NULL_RTX, VOIDmode, 0); - rtx op1 = expand_expr (TREE_OPERAND (exp, !swap), NULL_RTX, VOIDmode, 0); + rtx op0 = expand_normal (TREE_OPERAND (exp, swap)); + rtx op1 = expand_normal (TREE_OPERAND (exp, !swap)); enum machine_mode mode = TYPE_MODE (TREE_TYPE (TREE_OPERAND (exp, 0))); int unsignedp = TYPE_UNSIGNED (TREE_TYPE (TREE_OPERAND (exp, 0))); @@ -702,8 +702,8 @@ do_jump_by_parts_greater_rtx (enum machine_mode mode, int unsignedp, rtx op0, static void do_jump_by_parts_equality (tree exp, rtx if_false_label, rtx if_true_label) { - rtx op0 = expand_expr (TREE_OPERAND (exp, 0), NULL_RTX, VOIDmode, 0); - rtx op1 = expand_expr (TREE_OPERAND (exp, 1), NULL_RTX, VOIDmode, 0); + rtx op0 = expand_normal (TREE_OPERAND (exp, 0)); + rtx op1 = expand_normal (TREE_OPERAND (exp, 1)); enum machine_mode mode = TYPE_MODE (TREE_TYPE (TREE_OPERAND (exp, 0))); int nwords = (GET_MODE_SIZE (mode) / UNITS_PER_WORD); int i; @@ -923,11 +923,11 @@ do_compare_and_jump (tree exp, enum rtx_code signed_code, enum rtx_code code; /* Don't crash if the comparison was erroneous. */ - op0 = expand_expr (TREE_OPERAND (exp, 0), NULL_RTX, VOIDmode, 0); + op0 = expand_normal (TREE_OPERAND (exp, 0)); if (TREE_CODE (TREE_OPERAND (exp, 0)) == ERROR_MARK) return; - op1 = expand_expr (TREE_OPERAND (exp, 1), NULL_RTX, VOIDmode, 0); + op1 = expand_normal (TREE_OPERAND (exp, 1)); if (TREE_CODE (TREE_OPERAND (exp, 1)) == ERROR_MARK) return; |