summaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 165b016cf3d..0bbfccd4650 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -2371,10 +2371,10 @@ use_group_regs (rtx *call_fusage, rtx regs)
assigment and the code of the expresion on the RHS is CODE. Return
NULL otherwise. */
-static gimple
+static gimple *
get_def_for_expr (tree name, enum tree_code code)
{
- gimple def_stmt;
+ gimple *def_stmt;
if (TREE_CODE (name) != SSA_NAME)
return NULL;
@@ -2391,10 +2391,10 @@ get_def_for_expr (tree name, enum tree_code code)
assigment and the class of the expresion on the RHS is CLASS. Return
NULL otherwise. */
-static gimple
+static gimple *
get_def_for_expr_class (tree name, enum tree_code_class tclass)
{
- gimple def_stmt;
+ gimple *def_stmt;
if (TREE_CODE (name) != SSA_NAME)
return NULL;
@@ -4477,7 +4477,7 @@ optimize_bitfield_assignment_op (unsigned HOST_WIDE_INT bitsize,
tree op0, op1;
rtx value, result;
optab binop;
- gimple srcstmt;
+ gimple *srcstmt;
enum tree_code code;
if (mode1 != VOIDmode
@@ -4507,7 +4507,7 @@ optimize_bitfield_assignment_op (unsigned HOST_WIDE_INT bitsize,
be from a bitfield load. */
if (TREE_CODE (op0) == SSA_NAME)
{
- gimple op0stmt = get_gimple_for_ssa_name (op0);
+ gimple *op0stmt = get_gimple_for_ssa_name (op0);
/* We want to eventually have OP0 be the same as TO, which
should be a bitfield. */
@@ -6619,7 +6619,7 @@ store_field (rtx target, HOST_WIDE_INT bitsize, HOST_WIDE_INT bitpos,
&& DECL_MODE (TREE_OPERAND (TREE_OPERAND (exp, 0), 0)) != BLKmode))
{
rtx temp;
- gimple nop_def;
+ gimple *nop_def;
/* If EXP is a NOP_EXPR of precision less than its mode, then that
implies a mask operation. If the precision is the same size as
@@ -7904,7 +7904,7 @@ expand_cond_expr_using_cmove (tree treeop0 ATTRIBUTE_UNUSED,
rtx op00, op01, op1, op2;
enum rtx_code comparison_code;
machine_mode comparison_mode;
- gimple srcstmt;
+ gimple *srcstmt;
rtx temp;
tree type = TREE_TYPE (treeop1);
int unsignedp = TYPE_UNSIGNED (type);
@@ -8302,7 +8302,7 @@ expand_expr_real_2 (sepops ops, rtx target, machine_mode tmode,
&& TYPE_MODE (TREE_TYPE (treeop0))
== TYPE_MODE (TREE_TYPE (treeop1)))
{
- gimple def = get_def_for_expr (treeop1, NEGATE_EXPR);
+ gimple *def = get_def_for_expr (treeop1, NEGATE_EXPR);
if (def)
{
treeop1 = gimple_assign_rhs1 (def);
@@ -8490,7 +8490,7 @@ expand_expr_real_2 (sepops ops, rtx target, machine_mode tmode,
case FMA_EXPR:
{
optab opt = fma_optab;
- gimple def0, def2;
+ gimple *def0, *def2;
/* If there is no insn for FMA, emit it as __builtin_fma{,f,l}
call. */
@@ -8896,7 +8896,7 @@ expand_expr_real_2 (sepops ops, rtx target, machine_mode tmode,
&& TREE_CONSTANT (treeop1)
&& TREE_CODE (treeop0) == SSA_NAME)
{
- gimple def = SSA_NAME_DEF_STMT (treeop0);
+ gimple *def = SSA_NAME_DEF_STMT (treeop0);
if (is_gimple_assign (def)
&& gimple_assign_rhs_code (def) == NOP_EXPR)
{
@@ -9328,7 +9328,7 @@ expand_expr_real_2 (sepops ops, rtx target, machine_mode tmode,
into constant expressions. */
static bool
-stmt_is_replaceable_p (gimple stmt)
+stmt_is_replaceable_p (gimple *stmt)
{
if (ssa_is_replaceable_p (stmt))
{
@@ -9358,7 +9358,7 @@ expand_expr_real_1 (tree exp, rtx target, machine_mode tmode,
struct separate_ops ops;
tree treeop0, treeop1, treeop2;
tree ssa_name = NULL_TREE;
- gimple g;
+ gimple *g;
type = TREE_TYPE (exp);
mode = TYPE_MODE (type);
@@ -9842,7 +9842,7 @@ expand_expr_real_1 (tree exp, rtx target, machine_mode tmode,
= TYPE_ADDR_SPACE (TREE_TYPE (TREE_TYPE (TREE_OPERAND (exp, 0))));
machine_mode address_mode;
tree base = TREE_OPERAND (exp, 0);
- gimple def_stmt;
+ gimple *def_stmt;
enum insn_code icode;
unsigned align;
/* Handle expansion of non-aliased memory with non-BLKmode. That
@@ -11120,7 +11120,7 @@ do_store_flag (sepops ops, rtx target, machine_mode mode)
&& integer_zerop (arg1)
&& (TYPE_PRECISION (ops->type) != 1 || TYPE_UNSIGNED (ops->type)))
{
- gimple srcstmt = get_def_for_expr (arg0, BIT_AND_EXPR);
+ gimple *srcstmt = get_def_for_expr (arg0, BIT_AND_EXPR);
if (srcstmt
&& integer_pow2p (gimple_assign_rhs2 (srcstmt)))
{