summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-01 01:27:48 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-01 01:27:48 +0000
commit6ebf93be4fd8ba84e9c412322bb64e58e93ce619 (patch)
treea430d2abda7a70795690749713e4aa0b7ac8d36c
parent890095ce446455f242c928f7b26b9ce43bf404a4 (diff)
downloadgcc-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/ChangeLog4
-rw-r--r--gcc/builtins.def2
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,