[Bug c/111219] -Wformat-truncation false negative with %p modifier
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 28 21:48:26 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111219
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=78512
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>From the GCC itself:
case 'p':
/* The %p output is implementation-defined. It's possible
to determine this format but due to extensions (especially
those of the Linux kernel -- see bug 78512) the first %p
in the format string disables any further processing. */
return false;
More information about the Gcc-bugs
mailing list