Commit 9f36390d by Uros Bizjak Committed by Uros Bizjak

i386.c (ext_80387_constant_init): Do not explicitly initialize to zero.

	* config/i386/i386.c (ext_80387_constant_init): Do not explicitly
	initialize to zero.
	(init_regs): Remove declaration.
	(function_arg_advance_32): Initialize error_p as boolean variable.

From-SVN: r247711
parent 7ab8766a
2017-05-06 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ext_80387_constant_init): Do not explicitly
initialize to zero.
(init_regs): Remove declaration.
(function_arg_advance_32): Initialize error_p as boolean variable.
2017-05-05 Nathan Sidwell <nathan@acm.org> 2017-05-05 Nathan Sidwell <nathan@acm.org>
* store-motion.c (remove_reachable_equiv_notes): Reformat long * store-motion.c (remove_reachable_equiv_notes): Reformat long
......
...@@ -2569,7 +2569,7 @@ enum x86_64_reg_class ...@@ -2569,7 +2569,7 @@ enum x86_64_reg_class
/* Table of constants used by fldpi, fldln2, etc.... */ /* Table of constants used by fldpi, fldln2, etc.... */
static REAL_VALUE_TYPE ext_80387_constants_table [5]; static REAL_VALUE_TYPE ext_80387_constants_table [5];
static bool ext_80387_constants_init = 0; static bool ext_80387_constants_init;
static struct machine_function * ix86_init_machine_status (void); static struct machine_function * ix86_init_machine_status (void);
...@@ -8544,9 +8544,6 @@ ix86_asm_output_function_label (FILE *asm_out_file, const char *fname, ...@@ -8544,9 +8544,6 @@ ix86_asm_output_function_label (FILE *asm_out_file, const char *fname,
} }
} }
/* regclass.c */
extern void init_regs (void);
/* Implementation of call abi switching target hook. Specific to FNDECL /* Implementation of call abi switching target hook. Specific to FNDECL
the specific call register sets are set. See also the specific call register sets are set. See also
ix86_conditional_register_usage for more details. */ ix86_conditional_register_usage for more details. */
...@@ -9665,7 +9662,7 @@ function_arg_advance_32 (CUMULATIVE_ARGS *cum, machine_mode mode, ...@@ -9665,7 +9662,7 @@ function_arg_advance_32 (CUMULATIVE_ARGS *cum, machine_mode mode,
HOST_WIDE_INT words) HOST_WIDE_INT words)
{ {
int res = 0; int res = 0;
bool error_p = NULL; bool error_p = false;
if (TARGET_IAMCU) if (TARGET_IAMCU)
{ {
...@@ -9710,13 +9707,13 @@ pass_in_reg: ...@@ -9710,13 +9707,13 @@ pass_in_reg:
case DFmode: case DFmode:
if (cum->float_in_sse == -1) if (cum->float_in_sse == -1)
error_p = 1; error_p = true;
if (cum->float_in_sse < 2) if (cum->float_in_sse < 2)
break; break;
/* FALLTHRU */ /* FALLTHRU */
case SFmode: case SFmode:
if (cum->float_in_sse == -1) if (cum->float_in_sse == -1)
error_p = 1; error_p = true;
if (cum->float_in_sse < 1) if (cum->float_in_sse < 1)
break; break;
/* FALLTHRU */ /* FALLTHRU */
...@@ -9927,6 +9924,7 @@ function_arg_32 (CUMULATIVE_ARGS *cum, machine_mode mode, ...@@ -9927,6 +9924,7 @@ function_arg_32 (CUMULATIVE_ARGS *cum, machine_mode mode,
HOST_WIDE_INT bytes, HOST_WIDE_INT words) HOST_WIDE_INT bytes, HOST_WIDE_INT words)
{ {
bool error_p = false; bool error_p = false;
/* Avoid the AL settings for the Unix64 ABI. */ /* Avoid the AL settings for the Unix64 ABI. */
if (mode == VOIDmode) if (mode == VOIDmode)
return constm1_rtx; return constm1_rtx;
...@@ -9978,13 +9976,13 @@ pass_in_reg: ...@@ -9978,13 +9976,13 @@ pass_in_reg:
case DFmode: case DFmode:
if (cum->float_in_sse == -1) if (cum->float_in_sse == -1)
error_p = 1; error_p = true;
if (cum->float_in_sse < 2) if (cum->float_in_sse < 2)
break; break;
/* FALLTHRU */ /* FALLTHRU */
case SFmode: case SFmode:
if (cum->float_in_sse == -1) if (cum->float_in_sse == -1)
error_p = 1; error_p = true;
if (cum->float_in_sse < 1) if (cum->float_in_sse < 1)
break; break;
/* FALLTHRU */ /* FALLTHRU */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment