[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803
rogero at howzatt dot demon.co.uk
gcc-bugzilla@gcc.gnu.org
Fri Apr 8 16:50:00 GMT 2016
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>
More information about the Gcc-bugs
mailing list