This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/77531] __attribute__((alloc_size(1,2))) could also warn on multiplication overflow
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Nov 2016 22:41:25 +0000
- Subject: [Bug c/77531] __attribute__((alloc_size(1,2))) could also warn on multiplication overflow
- Auto-submitted: auto-generated
- References: <bug-77531-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77531
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-11-09
CC| |msebor at gcc dot gnu.org
Host| |78284
Ever confirmed|0 |1
Severity|normal |enhancement
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
I think this would be quite useful and could be implemented as part of the
enhancement suggested in bug 78284.