https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67129

--- Comment #4 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
Also, it is a bad idea to pass global_options_set in this call

  ix86_valid_target_attribute_tree (args, &global_options,
&global_options_set);

because it may be modified (via ix86_handle_option()).  Unlike global_options,
the structure global_options_set is never saved or restored, so any target
pragma or attribute may change the structure for the rest of the compilation
unit.  This may or may not cause weird things to happen.

Reply via email to