i386.c (ix86_valid_target_attribute_tree): Don't clear opts->x_ix86_isa_flags...
authorJakub Jelinek <jakub@redhat.com>
Sat, 19 Nov 2016 18:57:26 +0000 (19:57 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 19 Nov 2016 18:57:26 +0000 (19:57 +0100)
* 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
gcc/config/i386/i386.c

index 9b69a6e62e5e2fa91d86e30939fd07caddd4f31c..c3c5c16c4814d82daf65b2cc504a57db5f5e6548 100644 (file)
@@ -1,5 +1,9 @@
 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,
        ix86_add_new_builtins): Formatting fixes.
        (ix86_expand_builtin): Use || instead of && for isa vs. isa2.
index 8ab6576cf9a898ff080d98b607cc3630ed3c492d..959653757fe42528eaf34d0454a824e6adf4d9e5 100644 (file)
@@ -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_flags= 0;
        }
       else if (!orig_arch_specified)
        opts->x_ix86_arch_string = NULL;