PR c/88363 - alloc_align attribute doesn't accept enumerated arguments
authorMartin Sebor <msebor@redhat.com>
Fri, 4 Jan 2019 22:48:45 +0000 (22:48 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Fri, 4 Jan 2019 22:48:45 +0000 (15:48 -0700)
commit9069a4c95d7f4d30f1e2e9d25dc7bb11a9f0e982
tree7f1228fc1a3e2747d8fa02ee659b66eb9665968e
parent6908c1dc6fc8d377ba80f12b7889e7872505cbb0
PR c/88363 - alloc_align attribute doesn't accept enumerated arguments

gcc/c-family/ChangeLog:

PR c/88363
* c-attribs.c (positional_argument): Also accept enumerated types.

gcc/testsuite/ChangeLog:

PR c/88363
* c-c++-common/attributes-4.c: New test.

gcc/ChangeLog:

PR c/88363
* doc/extend.texi (attribute alloc_align, alloc_size): Update.

From-SVN: r267583
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-attribs.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/attributes-4.c [new file with mode: 0644]