r246145 - in /trunk/gcc: ChangeLog builtin-attr...
law@gcc.gnu.org
law@gcc.gnu.org
Tue Mar 14 22:16:00 GMT 2017
Author: law
Date: Tue Mar 14 22:16:27 2017
New Revision: 246145
URL: https://gcc.gnu.org/viewcvs?rev=246145&root=gcc&view=rev
Log:
PR middle-end/80020
* builtin-attrs.def (ATTR_ALLOC_SIZE_2_NOTHROW_LIST): New macro.
* builtins.def (aligned_alloc): Use it.
PR middle-end/80020
* gcc.dg/attr-alloc_size-6.c: Correct aligned_alloc argument order.
* gcc.dg/attr-alloc_size-7.c: Same.
* gcc.dg/attr-alloc_size-9.c: Same.
* gcc.dg/builtin-alloc-size.c: Same.
* gcc.dg/pr80020.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr80020.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtin-attrs.def
trunk/gcc/builtins.def
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/attr-alloc_size-6.c
trunk/gcc/testsuite/gcc.dg/attr-alloc_size-7.c
trunk/gcc/testsuite/gcc.dg/attr-alloc_size-9.c
trunk/gcc/testsuite/gcc.dg/builtin-alloc-size.c
More information about the Gcc-cvs
mailing list