[Bug c/94815] Abusive -Wrestrict warning with sprintf

2020-04-28 Thread vincent.riviere at freesbee dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94815 Vincent Riviere changed: What|Removed |Added Resolution|WONTFIX |--- Status|RESOLVED

[Bug c/94815] Abusive -Wrestrict warning with sprintf

2020-04-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94815 --- Comment #3 from Martin Sebor --- I should add: it's helpful to make use of attribute alloc_size on allocation functions like myalloc to let GCC determine the size of the allocated objects. The size can then be used as an upper bound on the le

[Bug c/94815] Abusive -Wrestrict warning with sprintf

2020-04-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94815 Martin Sebor changed: What|Removed |Added Resolution|--- |WONTFIX Status|NEW

[Bug c/94815] Abusive -Wrestrict warning with sprintf

2020-04-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94815 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0