[Bug middle-end/87757] weird underlining and colors in sprintf warnings for unterminated arrays

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 26 12:55:00 GMT 2018


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

--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
prior to that gimplify.c code, the location of the argument is correctly set,
as:

t.c:8:31: note: 
    8 |   __builtin_sprintf (e, "%s", &a[0]);
      |                               ^~~~~


More information about the Gcc-bugs mailing list