[Bug c++/62181] [C/C++] Expected new warning: "adding 'char' to a string does not append to the string" [-Wstring-plus-int]
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 28 07:46:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62181
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=30334
--- Comment #11 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Xi Ruoyao from comment #8)
> (In reply to Xi Ruoyao from comment #7)
>
> > We should make a new PR requesting for clang -Warray-bounds as well. It's
> > a part of meta-bug PR30334.
>
> Sorry. We have -Warray-bounds, but not as well as clang's. For example clang
> warns for "aa"[4], but GCC doesn't.
In that case it's a different meta-bug, PR56456
More information about the Gcc-bugs
mailing list