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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
flag_random_seed is static inside of toplev.cc, but I guess the plugin can walk
  bool deterministic = false;
  for (unsigned i = 1; i < save_decoded_options_count; ++i)
    if (save_decoded_options[i].opt_index == OPT_frandom_seed
        && !save_decoded_options[i].value)
      deterministic = false;
    else if (save_decoded_options[i].opt_index == OPT_frandom_seed_)
      deterministic = true;

Reply via email to