This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/78169] internal compiler error: in get_substring_ranges_for_loc, at input.c:1379


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]