This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/78169] internal compiler error: in get_substring_ranges_for_loc, at input.c:1379
- From: "arnd at linaro dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Nov 2016 16:11:37 +0000
- Subject: [Bug preprocessor/78169] internal compiler error: in get_substring_ranges_for_loc, at input.c:1379
- Auto-submitted: auto-generated
- References: <bug-78169-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78169
--- Comment #5 from Arnd Bergmann <arnd at linaro dot org> ---
I just tried reproducing the earlier bug with my gcc build and failed to get
the ICE, so I assume this is a different problem despite also getting "internal
compiler error: in get_substring_ranges_for_loc, at input.c:13xx".
I opened https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78569, which is seems
related to a buffer overflow in sprintf(), which is similar to the one here,
but as far as I can tell, this one doesn't overflow as we print an 'unsigned
char' variable into a five-byte string.