diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dcec75dcf8d..df89715a85c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2007-01-12 Olga Golovanevsky + + * builtins.def : Add BUILT_IN_FREE. + 2007-01-12 Jan Hubicka PR tree-optimization/30443 diff --git a/gcc/builtins.def b/gcc/builtins.def index ca402a35ec7..b5a88cd2bf1 100644 --- a/gcc/builtins.def +++ b/gcc/builtins.def @@ -632,6 +632,7 @@ DEF_EXT_LIB_BUILTIN (BUILT_IN_FFSL, "ffsl", BT_FN_INT_LONG, ATTR_CONST_NOTHRO DEF_EXT_LIB_BUILTIN (BUILT_IN_FFSLL, "ffsll", BT_FN_INT_LONGLONG, ATTR_CONST_NOTHROW_LIST) DEF_EXT_LIB_BUILTIN (BUILT_IN_FORK, "fork", BT_FN_PID, ATTR_NOTHROW_LIST) DEF_GCC_BUILTIN (BUILT_IN_FRAME_ADDRESS, "frame_address", BT_FN_PTR_UINT, ATTR_NULL) +DEF_LIB_BUILTIN (BUILT_IN_FREE, "free", BT_FN_VOID_PTR, ATTR_NOTHROW_LIST) DEF_GCC_BUILTIN (BUILT_IN_FROB_RETURN_ADDR, "frob_return_addr", BT_FN_PTR_PTR, ATTR_NULL) DEF_EXT_LIB_BUILTIN (BUILT_IN_GETTEXT, "gettext", BT_FN_STRING_CONST_STRING, ATTR_FORMAT_ARG_1) DEF_C99_BUILTIN (BUILT_IN_IMAXABS, "imaxabs", BT_FN_INTMAX_INTMAX, ATTR_CONST_NOTHROW_LIST) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 22158f2b4cc..15167d5c4e1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-01-12 Olga Golovanevsky + + * gcc.dg/torture/pr24750-1.c: Add prototype of free. + 2007-01-12 Tom Tromey PR preprocessor/28227: diff --git a/gcc/testsuite/gcc.dg/torture/pr24750-1.c b/gcc/testsuite/gcc.dg/torture/pr24750-1.c index 6f84f3e8a7c..58b1ea2efcd 100644 --- a/gcc/testsuite/gcc.dg/torture/pr24750-1.c +++ b/gcc/testsuite/gcc.dg/torture/pr24750-1.c @@ -1,3 +1,4 @@ +extern void free (void *); extern int unknown; extern int n0; extern short *s0;