https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116161
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-07-31 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |compare-debug-failure Component|middle-end |tree-optimization --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- vect_create_addr_base_for_vector_ref(In reply to Jakub Jelinek from comment #3) > Seems the mismatches are in some var names, like Which I think comes from SRA which comes from the struct names of base class (which are not named) in C++ cases. Specifically make_fancy_decl_name in tree-sra.cc: sprintf (buffer, "D%u", DECL_UID (decl)); obstack_grow (&name_obstack, buffer, strlen (buffer)); If so this should most likely just turned into: obstack_grow (&name_obstack, "__D", 3); or something like that.