aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@issan.informatik.uni-dortmund.de>1997-09-26 15:59:35 +0000
committerJason Merrill <jason@gcc.gnu.org>1997-09-26 11:59:35 -0400
commitb9620d0e58740e9b0ab5879cb9f1ac4df09e8d48 (patch)
tree8792cf84e6fc1c80dac3f650ec099fe983240391
parentcc1c702f8c8f774862dc3e50a5bcc0a2ebeda017 (diff)
downloadgcc-b9620d0e58740e9b0ab5879cb9f1ac4df09e8d48.zip
gcc-b9620d0e58740e9b0ab5879cb9f1ac4df09e8d48.tar.gz
gcc-b9620d0e58740e9b0ab5879cb9f1ac4df09e8d48.tar.bz2
decl.c (init_decl_processing): Declare __builtin_constant_p as accepting any kind of type, not only int.
1997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * decl.c (init_decl_processing): Declare __builtin_constant_p as accepting any kind of type, not only int. From-SVN: r15734
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/decl.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b4e0fc9..b9a7fa5 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+1997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * decl.c (init_decl_processing): Declare __builtin_constant_p as
+ accepting any kind of type, not only int.
+
Fri Sep 26 00:22:56 1997 Jason Merrill <jason@yorick.cygnus.com>
* search.c (get_matching_virtual): Notice virtual bases when sorrying
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index df8066b..08a3dd5 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -5099,7 +5099,7 @@ init_decl_processing ()
else
delta_type_node = short_integer_type_node;
- builtin_function ("__builtin_constant_p", int_ftype_int,
+ builtin_function ("__builtin_constant_p", default_function_type,
BUILT_IN_CONSTANT_P, NULL_PTR);
builtin_return_address_fndecl