[Bug c++/78667] nonsensical attribute alloc_size silently accepted

2019-05-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78667 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug c++/78667] nonsensical attribute alloc_size silently accepted

2016-12-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78667 --- Comment #2 from Martin Sebor --- In addition to the problem described in comment #0 GCC also accepts (though with a warning) declarations of attribute alloc_size whose argument is a string (even though it should be an integer). GCC should re

[Bug c++/78667] nonsensical attribute alloc_size silently accepted

2016-12-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78667 Martin Sebor changed: What|Removed |Added Keywords||accepts-invalid, diagnostic See