i386.opt: Remove unneeded Init(0) initializations.

* config/i386/i386.opt: Remove unneeded Init(0) initializations.
	(mstackrealign): Do not init to -1.
	* config/i386/i386.c (ix86_option_override_internal):
	Check opts_set, not opts when setting default value of
	opts->x_ix86_force_align_arg_pointer.

From-SVN: r251311
This commit is contained in:
Uros Bizjak 2017-08-23 16:45:30 +02:00 committed by Uros Bizjak
parent 44b1b79808
commit b7fbf56380
3 changed files with 16 additions and 8 deletions

View File

@ -1,3 +1,11 @@
2017-08-23 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.opt: Remove unneeded Init(0) initializations.
(mstackrealign): Do not init to -1.
* config/i386/i386.c (ix86_option_override_internal):
Check opts_set, not opts when setting default value of
opts->x_ix86_force_align_arg_pointer.
2017-08-23 Richard Biener <rguenther@suse.de>
* function.c (fndecl_name): Use verbosity 1 (no arguments) for

View File

@ -6317,7 +6317,7 @@ ix86_option_override_internal (bool main_args_p,
}
/* Set the default value for -mstackrealign. */
if (opts->x_ix86_force_align_arg_pointer == -1)
if (!opts_set->x_ix86_force_align_arg_pointer)
opts->x_ix86_force_align_arg_pointer = STACK_REALIGN_DEFAULT;
ix86_default_incoming_stack_boundary = PREFERRED_STACK_BOUNDARY;

View File

@ -440,7 +440,7 @@ Target RejectNegative Mask(SSEREGPARM) Save
Use SSE register passing conventions for SF and DF mode.
mstackrealign
Target Report Var(ix86_force_align_arg_pointer) Init(-1)
Target Report Var(ix86_force_align_arg_pointer)
Realign stack in prologue.
mstack-arg-probe
@ -514,11 +514,11 @@ Target RejectNegative Joined Var(ix86_tune_ctrl_string)
Fine grain control of tune features.
mno-default
Target RejectNegative Var(ix86_tune_no_default) Init(0)
Target RejectNegative Var(ix86_tune_no_default)
Clear all tune features.
mdump-tune-features
Target RejectNegative Var(ix86_dump_tunes) Init(0)
Target RejectNegative Var(ix86_dump_tunes)
miamcu
Target Report Mask(IAMCU)
@ -866,16 +866,16 @@ Target Report Var(flag_fentry) Init(-1)
Emit profiling counter call at function entry before prologue.
mrecord-mcount
Target Report Var(flag_record_mcount) Init(0)
Target Report Var(flag_record_mcount)
Generate __mcount_loc section with all mcount or __fentry__ calls.
mnop-mcount
Target Report Var(flag_nop_mcount) Init(0)
Target Report Var(flag_nop_mcount)
Generate mcount/__fentry__ calls as nops. To activate they need to be
patched in.
mskip-rax-setup
Target Report Var(flag_skip_rax_setup) Init(0)
Target Report Var(flag_skip_rax_setup)
Skip setting up RAX register when passing variable arguments.
m8bit-idiv
@ -943,7 +943,7 @@ Target RejectNegative Joined Integer Var(ix86_stack_protector_guard_symbol_str)
Use the given symbol for addressing the stack-protector guard.
mmitigate-rop
Target Var(flag_mitigate_rop) Init(0)
Target Var(flag_mitigate_rop)
Attempt to avoid generating instruction sequences containing ret bytes.
mgeneral-regs-only