diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-01 01:27:48 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-01 01:27:48 +0000 |
commit | 6ebf93be4fd8ba84e9c412322bb64e58e93ce619 (patch) | |
tree | a430d2abda7a70795690749713e4aa0b7ac8d36c | |
parent | 890095ce446455f242c928f7b26b9ce43bf404a4 (diff) | |
download | gcc-6ebf93be4fd8ba84e9c412322bb64e58e93ce619.tar.gz |
* builtins.def (BUILTIN_CONSTANT_P): Mark as constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66316 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/builtins.def | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5868c24c15f..949b53c65d7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-04-30 Diego Novillo <dnovillo@redhat.com> + + * builtins.def (BUILTIN_CONSTANT_P): Mark as constant. + 2003-04-30 Geoffrey Keating <geoffk@apple.com> * tree-inline.c (inlinable_function_p): Back out last change, it's diff --git a/gcc/builtins.def b/gcc/builtins.def index 1806434b1ab..13aad964f02 100644 --- a/gcc/builtins.def +++ b/gcc/builtins.def @@ -689,7 +689,7 @@ DEF_GCC_BUILTIN(BUILT_IN_ARGS_INFO, DEF_GCC_BUILTIN(BUILT_IN_CONSTANT_P, "__builtin_constant_p", BT_FN_INT_VAR, - ATTR_NULL) + ATTR_CONST_NOTHROW_LIST) DEF_GCC_BUILTIN(BUILT_IN_FRAME_ADDRESS, "__builtin_frame_address", BT_FN_PTR_UNSIGNED, |