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
This commit is contained in:
Andreas Schwab 1997-09-26 15:59:35 +00:00 committed by Jason Merrill
parent cc1c702f8c
commit b9620d0e58
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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