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

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

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Without the testcase it is hard to guess.
But one guess is that if in case of GC the cache is wiped and recreating it may
create something -fcompare-debug cares about (e.g. creation of new decls - we
care not about exact values of DECL_UID, but about their order), then the
deletable cache is a serious problem, because with -g and with -g0 there is
likely different amount of memory used, which means ggc_collect at different
times and thus we could be using the cache successfully with -g and not without
-g or vice versa.

Reply via email to