Commit ed8b3aba by Jakub Jelinek Committed by Jakub Jelinek

i386.c (ix86_valid_target_attribute_tree): Don't clear opts->x_ix86_isa_flags...

	* config/i386/i386.c (ix86_valid_target_attribute_tree): Don't
	clear opts->x_ix86_isa_flags, clear opts->x_ix86_isa_flags2
	instead and using = 0 instead of &= 0.

From-SVN: r242627
parent 253a20de
2016-11-19 Jakub Jelinek <jakub@redhat.com> 2016-11-19 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (ix86_valid_target_attribute_tree): Don't
clear opts->x_ix86_isa_flags, clear opts->x_ix86_isa_flags2
instead and using = 0 instead of &= 0.
* config/i386/i386.c (def_builtin, def_builtin2, def_builtin_const2, * config/i386/i386.c (def_builtin, def_builtin2, def_builtin_const2,
ix86_add_new_builtins): Formatting fixes. ix86_add_new_builtins): Formatting fixes.
(ix86_expand_builtin): Use || instead of && for isa vs. isa2. (ix86_expand_builtin): Use || instead of && for isa vs. isa2.
...@@ -6845,7 +6845,7 @@ ix86_valid_target_attribute_tree (tree args, ...@@ -6845,7 +6845,7 @@ ix86_valid_target_attribute_tree (tree args,
| OPTION_MASK_ABI_64 | OPTION_MASK_ABI_64
| OPTION_MASK_ABI_X32 | OPTION_MASK_ABI_X32
| OPTION_MASK_CODE16); | OPTION_MASK_CODE16);
opts->x_ix86_isa_flags &= 0; opts->x_ix86_isa_flags2 = 0;
} }
else if (!orig_arch_specified) else if (!orig_arch_specified)
opts->x_ix86_arch_string = NULL; opts->x_ix86_arch_string = NULL;
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