OSDN Git Service

2008-04-23 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Apr 2008 13:47:38 +0000 (13:47 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Apr 2008 13:47:38 +0000 (13:47 +0000)
commit2802826ef27413a276d109c673c5f3348f352191
tree0ec573150b9f8a82ee9900eae5388c150fd6adc9
parent1aa0d4ffe56cc702cc9d27df8ce7e913a21d8e99
2008-04-23  Richard Guenther  <rguenther@suse.de>

PR middle-end/36021
* c-common.c (handle_alloc_size_attribute): Use type_num_arguments.

* gcc.dg/attr-alloc_size-2.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134595 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/attr-alloc_size-2.c [new file with mode: 0644]