[Bug c/78284] warn on malloc with very large arguments

2016-12-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78284 --- Comment #2 from Martin Sebor --- Author: msebor Date: Thu Dec 8 23:50:40 2016 New Revision: 243470 URL: https://gcc.gnu.org/viewcvs?rev=243470=gcc=rev Log: PR c/77531 - __attribute__((alloc_size(1,2))) could also warn on multiplication

[Bug c/78284] warn on malloc with very large arguments

2016-12-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78284 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/78284] warn on malloc with very large arguments

2016-12-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78284 Bug 78284 depends on bug 78668, which changed state. Bug 78668 Summary: aligned_alloc, realloc, et al. missing attribute alloc_size https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78668 What|Removed |Added

[Bug c/78284] warn on malloc with very large arguments

2016-11-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78284 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/78284] warn on malloc with very large arguments

2016-11-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78284 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Severity|normal