https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121747
Georg-Johann Lay <gjl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-valid-code | --- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- Points to the last line of lto-section-in.cc's class lto_input_block * lto_create_simple_input_block (struct lto_file_decl_data *file_data, enum lto_section_type section_type, const char **datar, size_t *len) { const char *data = lto_get_section_data (file_data, section_type, NULL, 0, len); const struct lto_simple_header * header = (const struct lto_simple_header *) data; int main_offset = sizeof (struct lto_simple_header); if (!data) return NULL; *datar = data; return new lto_input_block (data + main_offset, header->main_size, file_data); }