* builtins.def (BUILTIN_CONSTANT_P): Mark as constant.
authorDiego Novillo <dnovillo@redhat.com>
Thu, 1 May 2003 01:27:48 +0000 (01:27 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Thu, 1 May 2003 01:27:48 +0000 (21:27 -0400)
From-SVN: r66316

gcc/ChangeLog
gcc/builtins.def

index 5868c24c15fa5cccaa30a3d28dc71091268b14c3..949b53c65d7e358b47d2966b8c9ed575abe98b0f 100644 (file)
@@ -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
index 1806434b1aba7f0db0ff4deea185bcee4c8a2225..13aad964f0239f41e6f4689841bd6500e9866865 100644 (file)
@@ -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,