This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803
- From: "rogero at howzatt dot demon.co.uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 08 Apr 2016 16:49:49 +0000
- Subject: [Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803
- Auto-submitted: auto-generated
- References: <bug-69650-4 at http dot gcc dot gnu dot org/bugzilla/>
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>