[Bug c/81405] [8 Regression] Invalid write of size 2 in line_corrections::add_hint(fixit_hint const*) (diagnostic-show-locus.c:1514)

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 13 17:34:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81405

--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
I'm testing a fix for this crash in diagnostic-show-locus.c.

I've opened PR c/81432 to track the fact that the fix-its that are being
printed when the crash happens are actually nonsensical.


More information about the Gcc-bugs mailing list