https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122963
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sjames at gcc dot gnu.org
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
I was just thinking about this last night by chance.
I agree that we should split out all of the heuristics for the various string
functions (where we make an assumption based on how they should be used) from
the general flow-sensitive warnings. The flow-sensitive warnings are hard
enough for people to understand but they do have value (yes they are a whole
topic by themselves we need to figure out, but I don't want to derail this).
We've had to discuss this on IRC several times even amongst GCC developers, the
"rules" aren't obvious at all and aren't really documented.