aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-11-15 23:44:58 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-11-15 18:44:58 -0500
commita06ef755a376209a3c757786b3931671b72fc771 (patch)
tree105a983313e457a031de093d1916dbf3d53a97b4 /gcc/config
parentd215024f7f4211af4ede74781e12c5b3578be15f (diff)
downloadgcc-a06ef755a376209a3c757786b3931671b72fc771.zip
gcc-a06ef755a376209a3c757786b3931671b72fc771.tar.gz
gcc-a06ef755a376209a3c757786b3931671b72fc771.tar.bz2
alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P. * emit-rtl.c (change_address): Fix typo in default alignment. (adjust_address_1): Use mode of NEW, not MODE, when setting size. * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case. * rtl.h (REGNO_PTR_FRAME_P): New macro. * expr.c (store_field): Pass tree instead of max size; callers changed. Change handling of alignment. Only copy to_rtx if is TARGET. (expand_expr_unaligned): Delete; callers now use expand_expr. (emit_cmp_insn): No longer take ALIGN parm; all callers changed. (expand_assignment): Change handling of alignment. Only copy to_rtx if was original. (get_inner_reference): No longer return alginment; callers changed. (expand_expr, case COMPONENT_REF): Change handling of alignment. (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned. (compare_from_rtx): Delete ALIGN parm; all callers changed. (do_compare_rtx_and_jump): Likewise. * expr.h: Reflect above changes. * tree.h: Likewise. * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter to get_inner_reference. * except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns. * explow.c: Likewise. * loop.c: Likewise. * optabs.c: Likewise. (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed. (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed. * fold-const.c: Remove PALIGN in calls to get_inner_reference. * function.c (assign_stack_temp_for_type): No longer static. * optabs.h (emit_cmp_insn): Remove ALIGN parm. (prepare_cmp_insn): Delete declaration. * rtl.h (assign_stack_temp_for_type): Add declaration. * config/d30v/d30v.c: Reflect above changes. * config/i860/i860.c, config/ia64/ia64.c: Likewise. * config/rs6000/rs6000.c, config/sh/sh.c: Likewise. * ada/trans.c, ada/utils2.c: Remove PALIGN parameter to get_inner_reference. From-SVN: r47075
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/d30v/d30v.c4
-rw-r--r--gcc/config/i860/i860.c2
-rw-r--r--gcc/config/ia64/ia64.c4
-rw-r--r--gcc/config/rs6000/rs6000.c4
-rw-r--r--gcc/config/sh/sh.c4
5 files changed, 9 insertions, 9 deletions
diff --git a/gcc/config/d30v/d30v.c b/gcc/config/d30v/d30v.c
index 83b7e0c..a4d14be 100644
--- a/gcc/config/d30v/d30v.c
+++ b/gcc/config/d30v/d30v.c
@@ -1,5 +1,5 @@
/* Definitions of target machine for Mitsubishi D30V.
- Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
This file is part of GNU CC.
@@ -2290,7 +2290,7 @@ d30v_expand_builtin_va_arg(valist, type)
build_int_2 (1, 0));
emit_cmp_and_jump_insns (expand_expr (t, NULL_RTX, QImode, EXPAND_NORMAL),
- GEN_INT (0), EQ, const1_rtx, QImode, 1, 1,
+ GEN_INT (0), EQ, const1_rtx, QImode, 1,
lab_false);
t = build (POSTINCREMENT_EXPR, TREE_TYPE (arg_num), arg_num,
diff --git a/gcc/config/i860/i860.c b/gcc/config/i860/i860.c
index 5b70d5a..29ee288 100644
--- a/gcc/config/i860/i860.c
+++ b/gcc/config/i860/i860.c
@@ -2312,7 +2312,7 @@ i860_va_arg (valist, type)
emit_cmp_and_jump_insns (expand_expr (field, NULL_RTX, 0, 0),
GEN_INT (nparm - incr), GT, const0_rtx,
TYPE_MODE (TREE_TYPE (field)),
- TREE_UNSIGNED (field), 0, lab_false);
+ TREE_UNSIGNED (field), lab_false);
t = fold (build (POSTINCREMENT_EXPR, TREE_TYPE (field), field,
build_int_2 (incr, 0)));
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index a63376c..11bac13 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -7398,7 +7398,7 @@ ia64_expand_fetch_and_op (binoptab, mode, arglist, target)
insn = gen_cmpxchg_acq_di (tmp, mem, tmp, ccv);
emit_insn (insn);
- emit_cmp_and_jump_insns (tmp, ret, NE, 0, mode, 1, 0, label);
+ emit_cmp_and_jump_insns (tmp, ret, NE, 0, mode, 1, label);
return ret;
}
@@ -7463,7 +7463,7 @@ ia64_expand_op_and_fetch (binoptab, mode, arglist, target)
insn = gen_cmpxchg_acq_di (tmp, mem, ret, ccv);
emit_insn (insn);
- emit_cmp_and_jump_insns (tmp, old, NE, 0, mode, 1, 0, label);
+ emit_cmp_and_jump_insns (tmp, old, NE, 0, mode, 1, label);
return ret;
}
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 05fcc37..c51ed4e 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -2866,8 +2866,8 @@ rs6000_va_arg (valist, type)
addr_rtx = gen_reg_rtx (Pmode);
emit_cmp_and_jump_insns (expand_expr (reg, NULL_RTX, QImode, EXPAND_NORMAL),
- GEN_INT (8 - n_reg + 1),
- GE, const1_rtx, QImode, 1, 1, lab_false);
+ GEN_INT (8 - n_reg + 1), GE, const1_rtx, QImode, 1,
+ lab_false);
/* Long long is aligned in the registers. */
if (n_reg > 1)
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index 5d4def8..1696845 100644
--- a/gcc/config/sh/sh.c
+++ b/gcc/config/sh/sh.c
@@ -4507,7 +4507,7 @@ sh_va_arg (valist, type)
EXPAND_NORMAL),
expand_expr (next_fp_limit, NULL_RTX,
Pmode, EXPAND_NORMAL),
- GE, const1_rtx, Pmode, 1, 1, lab_false);
+ GE, const1_rtx, Pmode, 1, lab_false);
if (TYPE_ALIGN (type) > BITS_PER_WORD)
{
@@ -4542,7 +4542,7 @@ sh_va_arg (valist, type)
EXPAND_NORMAL),
expand_expr (next_o_limit, NULL_RTX,
Pmode, EXPAND_NORMAL),
- GT, const1_rtx, Pmode, 1, 1, lab_false);
+ GT, const1_rtx, Pmode, 1, lab_false);
tmp = build1 (ADDR_EXPR, pptr_type_node, next_o);
r = expand_expr (tmp, addr_rtx, Pmode, EXPAND_NORMAL);