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

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

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I guess the main issue is that file_cache::tune and file_cache::num_file_slots
are static members, while m_file_slots is nonstatic.
So, trying to figure out what all file_cache instances have been constructed
already in file_cache::tune is hard.

Perhaps file_cache::tune should be a method and file_cache::num_file_slots
renamed to
file_cache::m_num_file_slots and made into a non-static data member and
toplev.cc changed to
  global_dc->get_file_cache ()->tune (...);
?

Reply via email to