diff options
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 162 |
1 files changed, 81 insertions, 81 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index c2eb373ed66..dd0869d366f 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -92,7 +92,7 @@ builtin_info_type builtin_info; /* Non-zero if __builtin_constant_p should be folded right away. */ bool force_folding_builtin_constant_p; -static rtx c_readstr (const char *, enum machine_mode); +static rtx c_readstr (const char *, machine_mode); static int target_char_cast (tree, char *); static rtx get_memory_rtx (tree, tree); static int apply_args_size (void); @@ -122,25 +122,25 @@ static rtx expand_builtin_next_arg (void); static rtx expand_builtin_va_start (tree); static rtx expand_builtin_va_end (tree); static rtx expand_builtin_va_copy (tree); -static rtx expand_builtin_memcmp (tree, rtx, enum machine_mode); +static rtx expand_builtin_memcmp (tree, rtx, machine_mode); static rtx expand_builtin_strcmp (tree, rtx); -static rtx expand_builtin_strncmp (tree, rtx, enum machine_mode); -static rtx builtin_memcpy_read_str (void *, HOST_WIDE_INT, enum machine_mode); +static rtx expand_builtin_strncmp (tree, rtx, machine_mode); +static rtx builtin_memcpy_read_str (void *, HOST_WIDE_INT, machine_mode); static rtx expand_builtin_memcpy (tree, rtx); -static rtx expand_builtin_mempcpy (tree, rtx, enum machine_mode); +static rtx expand_builtin_mempcpy (tree, rtx, machine_mode); static rtx expand_builtin_mempcpy_args (tree, tree, tree, rtx, - enum machine_mode, int); + machine_mode, int); static rtx expand_builtin_strcpy (tree, rtx); static rtx expand_builtin_strcpy_args (tree, tree, rtx); -static rtx expand_builtin_stpcpy (tree, rtx, enum machine_mode); +static rtx expand_builtin_stpcpy (tree, rtx, machine_mode); static rtx expand_builtin_strncpy (tree, rtx); -static rtx builtin_memset_gen_str (void *, HOST_WIDE_INT, enum machine_mode); -static rtx expand_builtin_memset (tree, rtx, enum machine_mode); -static rtx expand_builtin_memset_args (tree, tree, tree, rtx, enum machine_mode, tree); +static rtx builtin_memset_gen_str (void *, HOST_WIDE_INT, machine_mode); +static rtx expand_builtin_memset (tree, rtx, machine_mode); +static rtx expand_builtin_memset_args (tree, tree, tree, rtx, machine_mode, tree); static rtx expand_builtin_bzero (tree); -static rtx expand_builtin_strlen (tree, rtx, enum machine_mode); +static rtx expand_builtin_strlen (tree, rtx, machine_mode); static rtx expand_builtin_alloca (tree, bool); -static rtx expand_builtin_unop (enum machine_mode, tree, rtx, rtx, optab); +static rtx expand_builtin_unop (machine_mode, tree, rtx, rtx, optab); static rtx expand_builtin_frame_address (tree, tree); static tree stabilize_va_list_loc (location_t, tree, int); static rtx expand_builtin_expect (tree, rtx); @@ -197,7 +197,7 @@ static tree fold_builtin_strspn (location_t, tree, tree); static tree fold_builtin_strcspn (location_t, tree, tree); static rtx expand_builtin_object_size (tree); -static rtx expand_builtin_memory_chk (tree, rtx, enum machine_mode, +static rtx expand_builtin_memory_chk (tree, rtx, machine_mode, enum built_in_function); static void maybe_emit_chk_warning (tree, enum built_in_function); static void maybe_emit_sprintf_chk_warning (tree, enum built_in_function); @@ -290,7 +290,7 @@ get_object_alignment_2 (tree exp, unsigned int *alignp, { HOST_WIDE_INT bitsize, bitpos; tree offset; - enum machine_mode mode; + machine_mode mode; int unsignedp, volatilep; unsigned int align = BITS_PER_UNIT; bool known_alignment = false; @@ -652,7 +652,7 @@ c_getstr (tree src) GET_MODE_BITSIZE (MODE) bits from string constant STR. */ static rtx -c_readstr (const char *str, enum machine_mode mode) +c_readstr (const char *str, machine_mode mode) { HOST_WIDE_INT ch; unsigned int i, j; @@ -826,7 +826,7 @@ static alias_set_type setjmp_alias_set = -1; void expand_builtin_setjmp_setup (rtx buf_addr, rtx receiver_label) { - enum machine_mode sa_mode = STACK_SAVEAREA_MODE (SAVE_NONLOCAL); + machine_mode sa_mode = STACK_SAVEAREA_MODE (SAVE_NONLOCAL); rtx stack_save; rtx mem; @@ -970,7 +970,7 @@ expand_builtin_longjmp (rtx buf_addr, rtx value) { rtx fp, lab, stack; rtx_insn *insn, *last; - enum machine_mode sa_mode = STACK_SAVEAREA_MODE (SAVE_NONLOCAL); + machine_mode sa_mode = STACK_SAVEAREA_MODE (SAVE_NONLOCAL); /* DRAP is needed for stack realign if longjmp is expanded to current function */ @@ -1197,7 +1197,7 @@ expand_builtin_nonlocal_goto (tree exp) static void expand_builtin_update_setjmp_buf (rtx buf_addr) { - enum machine_mode sa_mode = STACK_SAVEAREA_MODE (SAVE_NONLOCAL); + machine_mode sa_mode = STACK_SAVEAREA_MODE (SAVE_NONLOCAL); rtx stack_save = gen_rtx_MEM (sa_mode, memory_address @@ -1359,7 +1359,7 @@ apply_args_size (void) static int size = -1; int align; unsigned int regno; - enum machine_mode mode; + machine_mode mode; /* The values computed by this function never change. */ if (size < 0) @@ -1401,7 +1401,7 @@ apply_result_size (void) { static int size = -1; int align, regno; - enum machine_mode mode; + machine_mode mode; /* The values computed by this function never change. */ if (size < 0) @@ -1442,7 +1442,7 @@ static rtx result_vector (int savep, rtx result) { int regno, size, align, nelts; - enum machine_mode mode; + machine_mode mode; rtx reg, mem; rtx *savevec = XALLOCAVEC (rtx, FIRST_PSEUDO_REGISTER); @@ -1472,7 +1472,7 @@ expand_builtin_apply_args_1 (void) { rtx registers, tem; int size, align, regno; - enum machine_mode mode; + machine_mode mode; rtx struct_incoming_value = targetm.calls.struct_value_rtx (cfun ? TREE_TYPE (cfun->decl) : 0, 1); /* Create a block where the arg-pointer, structure value address, @@ -1577,7 +1577,7 @@ static rtx expand_builtin_apply (rtx function, rtx arguments, rtx argsize) { int size, align, regno; - enum machine_mode mode; + machine_mode mode; rtx incoming_args, result, reg, dest, src; rtx_call_insn *call_insn; rtx old_stack_level = 0; @@ -1744,7 +1744,7 @@ static void expand_builtin_return (rtx result) { int size, align, regno; - enum machine_mode mode; + machine_mode mode; rtx reg; rtx_insn *call_fusage = 0; @@ -2024,7 +2024,7 @@ expand_builtin_mathfn (tree exp, rtx target, rtx subtarget) rtx op0; rtx_insn *insns; tree fndecl = get_callee_fndecl (exp); - enum machine_mode mode; + machine_mode mode; bool errno_set = false; bool try_widening = false; tree arg; @@ -2153,7 +2153,7 @@ expand_builtin_mathfn_2 (tree exp, rtx target, rtx subtarget) int op1_type = REAL_TYPE; tree fndecl = get_callee_fndecl (exp); tree arg0, arg1; - enum machine_mode mode; + machine_mode mode; bool errno_set = true; switch (DECL_FUNCTION_CODE (fndecl)) @@ -2262,7 +2262,7 @@ expand_builtin_mathfn_ternary (tree exp, rtx target, rtx subtarget) rtx_insn *insns; tree fndecl = get_callee_fndecl (exp); tree arg0, arg1, arg2; - enum machine_mode mode; + machine_mode mode; if (!validate_arglist (exp, REAL_TYPE, REAL_TYPE, REAL_TYPE, VOID_TYPE)) return NULL_RTX; @@ -2335,7 +2335,7 @@ expand_builtin_mathfn_3 (tree exp, rtx target, rtx subtarget) rtx op0; rtx_insn *insns; tree fndecl = get_callee_fndecl (exp); - enum machine_mode mode; + machine_mode mode; tree arg; if (!validate_arglist (exp, REAL_TYPE, VOID_TYPE)) @@ -2431,7 +2431,7 @@ interclass_mathfn_icode (tree arg, tree fndecl) { bool errno_set = false; optab builtin_optab = unknown_optab; - enum machine_mode mode; + machine_mode mode; switch (DECL_FUNCTION_CODE (fndecl)) { @@ -2479,7 +2479,7 @@ expand_builtin_interclass_mathfn (tree exp, rtx target) enum insn_code icode = CODE_FOR_nothing; rtx op0; tree fndecl = get_callee_fndecl (exp); - enum machine_mode mode; + machine_mode mode; tree arg; if (!validate_arglist (exp, REAL_TYPE, VOID_TYPE)) @@ -2526,7 +2526,7 @@ static rtx expand_builtin_sincos (tree exp) { rtx op0, op1, op2, target1, target2; - enum machine_mode mode; + machine_mode mode; tree arg, sinp, cosp; int result; location_t loc = EXPR_LOCATION (exp); @@ -2580,7 +2580,7 @@ expand_builtin_cexpi (tree exp, rtx target) { tree fndecl = get_callee_fndecl (exp); tree arg, type; - enum machine_mode mode; + machine_mode mode; rtx op0, op1, op2; location_t loc = EXPR_LOCATION (exp); @@ -2715,7 +2715,7 @@ expand_builtin_int_roundingfn (tree exp, rtx target) tree fndecl = get_callee_fndecl (exp); enum built_in_function fallback_fn; tree fallback_fndecl; - enum machine_mode mode; + machine_mode mode; tree arg; if (!validate_arglist (exp, REAL_TYPE, VOID_TYPE)) @@ -2851,7 +2851,7 @@ expand_builtin_int_roundingfn_2 (tree exp, rtx target) rtx_insn *insns; tree fndecl = get_callee_fndecl (exp); tree arg; - enum machine_mode mode; + machine_mode mode; enum built_in_function fallback_fn = BUILT_IN_NONE; if (!validate_arglist (exp, REAL_TYPE, VOID_TYPE)) @@ -2949,8 +2949,8 @@ expand_builtin_powi (tree exp, rtx target) { tree arg0, arg1; rtx op0, op1; - enum machine_mode mode; - enum machine_mode mode2; + machine_mode mode; + machine_mode mode2; if (! validate_arglist (exp, REAL_TYPE, INTEGER_TYPE, VOID_TYPE)) return NULL_RTX; @@ -2987,7 +2987,7 @@ expand_builtin_powi (tree exp, rtx target) static rtx expand_builtin_strlen (tree exp, rtx target, - enum machine_mode target_mode) + machine_mode target_mode) { if (!validate_arglist (exp, POINTER_TYPE, VOID_TYPE)) return NULL_RTX; @@ -2999,7 +2999,7 @@ expand_builtin_strlen (tree exp, rtx target, tree src = CALL_EXPR_ARG (exp, 0); rtx src_reg; rtx_insn *before_strlen; - enum machine_mode insn_mode = target_mode; + machine_mode insn_mode = target_mode; enum insn_code icode = CODE_FOR_nothing; unsigned int align; @@ -3092,7 +3092,7 @@ expand_builtin_strlen (tree exp, rtx target, static rtx builtin_memcpy_read_str (void *data, HOST_WIDE_INT offset, - enum machine_mode mode) + machine_mode mode) { const char *str = (const char *) data; @@ -3265,7 +3265,7 @@ expand_builtin_memcpy (tree exp, rtx target) stpcpy. */ static rtx -expand_builtin_mempcpy (tree exp, rtx target, enum machine_mode mode) +expand_builtin_mempcpy (tree exp, rtx target, machine_mode mode) { if (!validate_arglist (exp, POINTER_TYPE, POINTER_TYPE, INTEGER_TYPE, VOID_TYPE)) @@ -3288,7 +3288,7 @@ expand_builtin_mempcpy (tree exp, rtx target, enum machine_mode mode) static rtx expand_builtin_mempcpy_args (tree dest, tree src, tree len, - rtx target, enum machine_mode mode, int endp) + rtx target, machine_mode mode, int endp) { /* If return value is ignored, transform mempcpy into memcpy. */ if (target == const0_rtx && builtin_decl_implicit_p (BUILT_IN_MEMCPY)) @@ -3444,7 +3444,7 @@ expand_builtin_strcpy_args (tree dest, tree src, rtx target) mode MODE if that's convenient). */ static rtx -expand_builtin_stpcpy (tree exp, rtx target, enum machine_mode mode) +expand_builtin_stpcpy (tree exp, rtx target, machine_mode mode) { tree dst, src; location_t loc = EXPR_LOCATION (exp); @@ -3520,7 +3520,7 @@ expand_builtin_stpcpy (tree exp, rtx target, enum machine_mode mode) rtx builtin_strncpy_read_str (void *data, HOST_WIDE_INT offset, - enum machine_mode mode) + machine_mode mode) { const char *str = (const char *) data; @@ -3586,7 +3586,7 @@ expand_builtin_strncpy (tree exp, rtx target) rtx builtin_memset_read_str (void *data, HOST_WIDE_INT offset ATTRIBUTE_UNUSED, - enum machine_mode mode) + machine_mode mode) { const char *c = (const char *) data; char *p = XALLOCAVEC (char, GET_MODE_SIZE (mode)); @@ -3603,7 +3603,7 @@ builtin_memset_read_str (void *data, HOST_WIDE_INT offset ATTRIBUTE_UNUSED, static rtx builtin_memset_gen_str (void *data, HOST_WIDE_INT offset ATTRIBUTE_UNUSED, - enum machine_mode mode) + machine_mode mode) { rtx target, coeff; size_t size; @@ -3628,7 +3628,7 @@ builtin_memset_gen_str (void *data, HOST_WIDE_INT offset ATTRIBUTE_UNUSED, convenient). */ static rtx -expand_builtin_memset (tree exp, rtx target, enum machine_mode mode) +expand_builtin_memset (tree exp, rtx target, machine_mode mode) { if (!validate_arglist (exp, POINTER_TYPE, INTEGER_TYPE, INTEGER_TYPE, VOID_TYPE)) @@ -3650,11 +3650,11 @@ expand_builtin_memset (tree exp, rtx target, enum machine_mode mode) static rtx expand_builtin_memset_args (tree dest, tree val, tree len, - rtx target, enum machine_mode mode, tree orig_exp) + rtx target, machine_mode mode, tree orig_exp) { tree fndecl, fn; enum built_in_function fcode; - enum machine_mode val_mode; + machine_mode val_mode; char c; unsigned int dest_align; rtx dest_mem, dest_addr, len_rtx; @@ -3816,7 +3816,7 @@ expand_builtin_bzero (tree exp) static rtx expand_builtin_memcmp (tree exp, ATTRIBUTE_UNUSED rtx target, - ATTRIBUTE_UNUSED enum machine_mode mode) + ATTRIBUTE_UNUSED machine_mode mode) { location_t loc ATTRIBUTE_UNUSED = EXPR_LOCATION (exp); @@ -3838,7 +3838,7 @@ expand_builtin_memcmp (tree exp, ATTRIBUTE_UNUSED rtx target, unsigned int arg1_align = get_pointer_alignment (arg1) / BITS_PER_UNIT; unsigned int arg2_align = get_pointer_alignment (arg2) / BITS_PER_UNIT; - enum machine_mode insn_mode; + machine_mode insn_mode; if (HAVE_cmpmemsi) insn_mode = insn_data[(int) CODE_FOR_cmpmemsi].operand[0].mode; @@ -3939,7 +3939,7 @@ expand_builtin_strcmp (tree exp, ATTRIBUTE_UNUSED rtx target) /* Try to call cmpstrsi. */ if (HAVE_cmpstrsi) { - enum machine_mode insn_mode + machine_mode insn_mode = insn_data[(int) CODE_FOR_cmpstrsi].operand[0].mode; /* Make a place to write the result of the instruction. */ @@ -3960,7 +3960,7 @@ expand_builtin_strcmp (tree exp, ATTRIBUTE_UNUSED rtx target) tree len; rtx arg3_rtx; - enum machine_mode insn_mode + machine_mode insn_mode = insn_data[(int) CODE_FOR_cmpstrnsi].operand[0].mode; tree len1 = c_strlen (arg1, 1); tree len2 = c_strlen (arg2, 1); @@ -4014,7 +4014,7 @@ expand_builtin_strcmp (tree exp, ATTRIBUTE_UNUSED rtx target) if (insn) { - enum machine_mode mode; + machine_mode mode; emit_insn (insn); /* Return the value in the proper mode for this function. */ @@ -4048,7 +4048,7 @@ expand_builtin_strcmp (tree exp, ATTRIBUTE_UNUSED rtx target) static rtx expand_builtin_strncmp (tree exp, ATTRIBUTE_UNUSED rtx target, - ATTRIBUTE_UNUSED enum machine_mode mode) + ATTRIBUTE_UNUSED machine_mode mode) { location_t loc ATTRIBUTE_UNUSED = EXPR_LOCATION (exp); @@ -4072,7 +4072,7 @@ expand_builtin_strncmp (tree exp, ATTRIBUTE_UNUSED rtx target, unsigned int arg1_align = get_pointer_alignment (arg1) / BITS_PER_UNIT; unsigned int arg2_align = get_pointer_alignment (arg2) / BITS_PER_UNIT; - enum machine_mode insn_mode + machine_mode insn_mode = insn_data[(int) CODE_FOR_cmpstrnsi].operand[0].mode; len1 = c_strlen (arg1, 1); @@ -4511,7 +4511,7 @@ expand_builtin_alloca (tree exp, bool cannot_accumulate) SUBTARGET may be used as the target for computing one of EXP's operands. */ static rtx -expand_builtin_bswap (enum machine_mode target_mode, tree exp, rtx target, +expand_builtin_bswap (machine_mode target_mode, tree exp, rtx target, rtx subtarget) { tree arg; @@ -4541,7 +4541,7 @@ expand_builtin_bswap (enum machine_mode target_mode, tree exp, rtx target, SUBTARGET may be used as the target for computing one of EXP's operands. */ static rtx -expand_builtin_unop (enum machine_mode target_mode, tree exp, rtx target, +expand_builtin_unop (machine_mode target_mode, tree exp, rtx target, rtx subtarget, optab op_optab) { rtx op0; @@ -4640,7 +4640,7 @@ expand_builtin_unreachable (void) static rtx expand_builtin_fabs (tree exp, rtx target, rtx subtarget) { - enum machine_mode mode; + machine_mode mode; tree arg; rtx op0; @@ -4837,7 +4837,7 @@ static rtx expand_builtin_signbit (tree exp, rtx target) { const struct real_format *fmt; - enum machine_mode fmode, imode, rmode; + machine_mode fmode, imode, rmode; tree arg; int word, bitpos; enum insn_code icode; @@ -5010,7 +5010,7 @@ expand_builtin_fork_or_exec (tree fn, tree exp, rtx target, int ignore) FCODE_DIFF should be fcode - base, where base is the FOO_1 code for the group of builtins. This gives us log2 of the mode size. */ -static inline enum machine_mode +static inline machine_mode get_builtin_sync_mode (int fcode_diff) { /* The size is not negotiable, so ask not to get BLKmode in return @@ -5022,7 +5022,7 @@ get_builtin_sync_mode (int fcode_diff) for the builtin_sync operations. */ static rtx -get_builtin_sync_mem (tree loc, enum machine_mode mode) +get_builtin_sync_mem (tree loc, machine_mode mode) { rtx addr, mem; @@ -5048,10 +5048,10 @@ get_builtin_sync_mem (tree loc, enum machine_mode mode) MODE is the mode it should be in. */ static rtx -expand_expr_force_mode (tree exp, enum machine_mode mode) +expand_expr_force_mode (tree exp, machine_mode mode) { rtx val; - enum machine_mode old_mode; + machine_mode old_mode; val = expand_expr (exp, NULL_RTX, mode, EXPAND_NORMAL); /* If VAL is promoted to a wider mode, convert it back to MODE. Take care @@ -5073,7 +5073,7 @@ expand_expr_force_mode (tree exp, enum machine_mode mode) fetch_and_xxx form. */ static rtx -expand_builtin_sync_operation (enum machine_mode mode, tree exp, +expand_builtin_sync_operation (machine_mode mode, tree exp, enum rtx_code code, bool after, rtx target) { @@ -5134,7 +5134,7 @@ expand_builtin_sync_operation (enum machine_mode mode, tree exp, results; this is NOT optional if IS_BOOL is true. */ static rtx -expand_builtin_compare_and_swap (enum machine_mode mode, tree exp, +expand_builtin_compare_and_swap (machine_mode mode, tree exp, bool is_bool, rtx target) { rtx old_val, new_val, mem; @@ -5168,7 +5168,7 @@ expand_builtin_compare_and_swap (enum machine_mode mode, tree exp, the results. */ static rtx -expand_builtin_sync_lock_test_and_set (enum machine_mode mode, tree exp, +expand_builtin_sync_lock_test_and_set (machine_mode mode, tree exp, rtx target) { rtx val, mem; @@ -5183,7 +5183,7 @@ expand_builtin_sync_lock_test_and_set (enum machine_mode mode, tree exp, /* Expand the __sync_lock_release intrinsic. EXP is the CALL_EXPR. */ static void -expand_builtin_sync_lock_release (enum machine_mode mode, tree exp) +expand_builtin_sync_lock_release (machine_mode mode, tree exp) { rtx mem; @@ -5235,7 +5235,7 @@ get_memmodel (tree exp) TARGET is an optional place for us to store the results. */ static rtx -expand_builtin_atomic_exchange (enum machine_mode mode, tree exp, rtx target) +expand_builtin_atomic_exchange (machine_mode mode, tree exp, rtx target) { rtx val, mem; enum memmodel model; @@ -5266,7 +5266,7 @@ expand_builtin_atomic_exchange (enum machine_mode mode, tree exp, rtx target) TARGET is an optional place for us to store the results. */ static rtx -expand_builtin_atomic_compare_exchange (enum machine_mode mode, tree exp, +expand_builtin_atomic_compare_exchange (machine_mode mode, tree exp, rtx target) { rtx expect, desired, mem, oldval; @@ -5338,7 +5338,7 @@ expand_builtin_atomic_compare_exchange (enum machine_mode mode, tree exp, TARGET is an optional place for us to store the results. */ static rtx -expand_builtin_atomic_load (enum machine_mode mode, tree exp, rtx target) +expand_builtin_atomic_load (machine_mode mode, tree exp, rtx target) { rtx mem; enum memmodel model; @@ -5367,7 +5367,7 @@ expand_builtin_atomic_load (enum machine_mode mode, tree exp, rtx target) TARGET is an optional place for us to store the results. */ static rtx -expand_builtin_atomic_store (enum machine_mode mode, tree exp) +expand_builtin_atomic_store (machine_mode mode, tree exp) { rtx mem, val; enum memmodel model; @@ -5403,7 +5403,7 @@ expand_builtin_atomic_store (enum machine_mode mode, tree exp) resolved to an instruction sequence. */ static rtx -expand_builtin_atomic_fetch_op (enum machine_mode mode, tree exp, rtx target, +expand_builtin_atomic_fetch_op (machine_mode mode, tree exp, rtx target, enum rtx_code code, bool fetch_after, bool ignore, enum built_in_function ext_call) { @@ -5473,7 +5473,7 @@ expand_builtin_atomic_fetch_op (enum machine_mode mode, tree exp, rtx target, static rtx expand_builtin_atomic_clear (tree exp) { - enum machine_mode mode; + machine_mode mode; rtx mem, ret; enum memmodel model; @@ -5514,7 +5514,7 @@ expand_builtin_atomic_test_and_set (tree exp, rtx target) { rtx mem; enum memmodel model; - enum machine_mode mode; + machine_mode mode; mode = mode_for_size (BOOL_TYPE_SIZE, MODE_INT, 0); mem = get_builtin_sync_mem (CALL_EXPR_ARG (exp, 0), mode); @@ -5531,7 +5531,7 @@ static tree fold_builtin_atomic_always_lock_free (tree arg0, tree arg1) { int size; - enum machine_mode mode; + machine_mode mode; unsigned int mode_align, type_align; if (TREE_CODE (arg0) != INTEGER_CST) @@ -5758,12 +5758,12 @@ expand_stack_save (void) IGNORE is nonzero if the value is to be ignored. */ rtx -expand_builtin (tree exp, rtx target, rtx subtarget, enum machine_mode mode, +expand_builtin (tree exp, rtx target, rtx subtarget, machine_mode mode, int ignore) { tree fndecl = get_callee_fndecl (exp); enum built_in_function fcode = DECL_FUNCTION_CODE (fndecl); - enum machine_mode target_mode = TYPE_MODE (TREE_TYPE (exp)); + machine_mode target_mode = TYPE_MODE (TREE_TYPE (exp)); int flags; /* When ASan is enabled, we don't want to expand some memory/string @@ -9359,7 +9359,7 @@ fold_builtin_modf (location_t loc, tree arg0, tree arg1, tree rettype) static tree fold_builtin_interclass_mathfn (location_t loc, tree fndecl, tree arg) { - enum machine_mode mode; + machine_mode mode; if (!validate_arg (arg, REAL_TYPE)) return NULL_TREE; @@ -9547,7 +9547,7 @@ fold_builtin_fpclassify (location_t loc, tree exp) { tree fp_nan, fp_infinite, fp_normal, fp_subnormal, fp_zero, arg, type, res, tmp; - enum machine_mode mode; + machine_mode mode; REAL_VALUE_TYPE r; char buf[128]; @@ -10691,7 +10691,7 @@ rtx default_expand_builtin (tree exp ATTRIBUTE_UNUSED, rtx target ATTRIBUTE_UNUSED, rtx subtarget ATTRIBUTE_UNUSED, - enum machine_mode mode ATTRIBUTE_UNUSED, + machine_mode mode ATTRIBUTE_UNUSED, int ignore ATTRIBUTE_UNUSED) { return NULL_RTX; @@ -11283,7 +11283,7 @@ expand_builtin_object_size (tree exp) mode MODE if that's convenient). */ static rtx -expand_builtin_memory_chk (tree exp, rtx target, enum machine_mode mode, +expand_builtin_memory_chk (tree exp, rtx target, machine_mode mode, enum built_in_function fcode) { tree dest, src, len, size; |