https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650
--- Comment #51 from Roger Orr <rogero at howzatt dot demon.co.uk> --- Thanks, I hope to try that on Monday. The function gets called multiple times, so I need to identify the last time. The memory must have changed *during* the call to do_linemarker as the new_file variable is set from map on line 981: const char *new_file = ORDINARY_MAP_FILE_NAME (map); but the same call executed now fails: (gdb) p ORDINARY_MAP_FILE_NAME (map) $3 = 0xa5a5a5a5a5a5a5a5 <error: Cannot access memory at address 0xa5a5a5a5a5a5a5a5>