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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Target Milestone|---                         |15.0
                 CC|                            |ppalka at gcc dot gnu.org
   Last reconfirmed|                            |2024-11-29
     Ever confirmed|0                           |1
            Summary|ICE: tree check: expected   |[15 Regression] ICE: tree
                   |tree that contains 'decl    |check: expected tree that
                   |minimal' structure, have    |contains 'decl minimal'
                   |'tree_list' in hash, at     |structure, have 'tree_list'
                   |tree.h:5958                 |in hash, at tree.h:5958

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
/* A map from TEMPLATE_DECLs that we've determined to be erroneous
   at parse time to the location of the first error within.  */

erroneous_templates_t *erroneous_templates;



cp-tree.h:extern erroneous_templates_t *erroneous_templates;



Hmm, no GTY marker in either definition and since it could contain GC memory
and across ggc_collect, I suspect it needs one.

This was added with r15-2774-g596d1ed9d40b10 .

Reply via email to