[Bug c/81871] bogus attribute alloc_align accepted

2019-01-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81871 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/81871] bogus attribute alloc_align accepted

2019-01-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81871 --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > Let me fix this. Any progress?

[Bug c/81871] bogus attribute alloc_align accepted

2018-10-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81871 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c/81871] bogus attribute alloc_align accepted

2018-10-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81871 --- Comment #2 from Martin Sebor --- Clang prints: a.c:1:22: warning: 'alloc_align' attribute only applies to return values that are pointers or references [-Wignored-attributes] After changing the return type to void*, Clang then prints:

[Bug c/81871] bogus attribute alloc_align accepted

2017-08-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81871 Eric Gallager changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRME