[Bug c++/99642] Compiler error while using precompiled header and -Wmismatched-tags flag
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 14 07:23:37 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99642
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |GC
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Seems to me this map is not PCH/GTY safe even:
/* A mapping between a TYPE_DECL for a class and the class_decl_loc_t
description above. */
typedef hash_map<tree_decl_hash, class_decl_loc_t> class_to_loc_map_t;
static class_to_loc_map_t class2loc;
More information about the Gcc-bugs
mailing list