From ed8b3aba44f30b22fe2517152291d358a4a2a950 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 19 Nov 2016 19:57:26 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9b69a6e62e5..c3c5c16c481 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2016-11-19 Jakub Jelinek + * 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, ix86_add_new_builtins): Formatting fixes. (ix86_expand_builtin): Use || instead of && for isa vs. isa2. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 8ab6576cf9a..959653757fe 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -6845,7 +6845,7 @@ ix86_valid_target_attribute_tree (tree args, | OPTION_MASK_ABI_64 | OPTION_MASK_ABI_X32 | OPTION_MASK_CODE16); - opts->x_ix86_isa_flags &= 0; + opts->x_ix86_isa_flags2 = 0; } else if (!orig_arch_specified) opts->x_ix86_arch_string = NULL; -- 2.30.2