https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66528
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to Dominique d'Humieres from comment #2) > Usual suspect r223677 (pr66082). I don't believe that a change to trans-array.c can cause a parsing failure. I would rather suspect r223614 . Here is the first error reported by valgrind: ==1154== Invalid free() / delete / delete[] / realloc() ==1154== at 0x4C28ADC: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==1154== by 0x126B11B: diagnostic_finish(diagnostic_context*) (diagnostic.c:230) ==1154== by 0x126BF11: diagnostic_action_after_output(diagnostic_context*, diagnostic_t) (diagnostic.c:566) ==1154== by 0x63FB0B: gfc_error_check() (error.c:1384) ==1154== by 0x687E47: decode_statement() (parse.c:554) ==1154== by 0x689740: next_statement() (parse.c:1048) ==1154== by 0x68BA0C: parse_executable(gfc_statement) (parse.c:4593) ==1154== by 0x68C430: parse_executable(gfc_statement) (parse.c:3519) ==1154== by 0x68CA06: parse_progunit(gfc_statement) (parse.c:4976) ==1154== by 0x68E167: gfc_parse_file() (parse.c:5424) ==1154== by 0x6CE642: gfc_be_parse_file() (f95-lang.c:215) ==1154== by 0xBCA44E: compile_file() (toplev.c:560) ==1154== Address 0x1cfefa8 is 8 bytes inside data symbol "_ZL12error_buffer"