diff options
author | Kaveh Ghazi <ghazi@caip.rutgers.edu> | 2005-03-26 02:25:30 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@caip.rutgers.edu> | 2005-03-26 02:25:30 +0000 |
commit | 3dcfc7f49efe53fc20471778fdd74c1400242d75 (patch) | |
tree | a2a76b1c0137364ea9eeb9b2d2c99e5b63eacf77 /gcc/builtin-types.def | |
parent | 01f9ac1f29f05be9a6e7c85e0adae0f6bb17629a (diff) |
* builtin-types.def (BT_FN_STRING_CONST_STRING_SIZE): New.
* builtins.def (BUILT_IN_STRNDUP): New.
testsuite:
* gcc.dg/nonnull-3.c: Also test __builtin_strndup.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97077 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtin-types.def')
-rw-r--r-- | gcc/builtin-types.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/builtin-types.def b/gcc/builtin-types.def index 845863108b0..a3c804c9181 100644 --- a/gcc/builtin-types.def +++ b/gcc/builtin-types.def @@ -172,6 +172,8 @@ DEF_FUNCTION_TYPE_2 (BT_FN_SIZE_CONST_STRING_CONST_STRING, BT_SIZE, BT_CONST_STRING, BT_CONST_STRING) DEF_FUNCTION_TYPE_2 (BT_FN_STRING_CONST_STRING_INT, BT_STRING, BT_CONST_STRING, BT_INT) +DEF_FUNCTION_TYPE_2 (BT_FN_STRING_CONST_STRING_SIZE, + BT_STRING, BT_CONST_STRING, BT_SIZE) DEF_FUNCTION_TYPE_2 (BT_FN_INT_CONST_STRING_FILEPTR, BT_INT, BT_CONST_STRING, BT_FILEPTR) DEF_FUNCTION_TYPE_2 (BT_FN_INT_INT_FILEPTR, |