diff options
author | Ian Lance Taylor <iant@google.com> | 2009-06-09 20:34:13 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-06-09 20:34:13 +0000 |
commit | 744aa42faba7eedf82eaa6c7a636ca1eb1d0c272 (patch) | |
tree | 56175d390c11854aba3f0de6bda4ded498eb45a0 /gcc/targhooks.h | |
parent | a3f2b833834ad00c2a209a7e07848ff0c94bd21b (diff) | |
download | gcc-744aa42faba7eedf82eaa6c7a636ca1eb1d0c272.zip gcc-744aa42faba7eedf82eaa6c7a636ca1eb1d0c272.tar.gz gcc-744aa42faba7eedf82eaa6c7a636ca1eb1d0c272.tar.bz2 |
targhooks.c (default_builtin_vectorized_function): Change fn parameter to unsigned int.
./: * targhooks.c (default_builtin_vectorized_function): Change fn
parameter to unsigned int.
(default_builtin_vectorized_conversion): Change code parameter to
unsigned int.
(default_builtin_reciprocal): Change fn parameter to unsigned int.
* targhooks.h: Update declarations.
* config/rs6000/rs6000.c (rs6000_builtin_conversion): Change code
parameter to unsigned int.
* c-typeck.c (comptypes_check_enum_int): New static function.
(comptypes_internal): Add enum_and_int_p parameter. Change all
callers.
(comp_target_types): Add location parameter. Change all callers.
(tagged_types_tu_compatible_p): Add enum_and_int_p parameter.
Change all callers.
(function_types_compatible_p, type_lists_compatible_p): Likewise.
(build_conditional_expr): Add colon_loc parameter. Change all
callers.
(convert_for_assignment): Add location parameter. Change all
callers.
* c-parser.c (c_parser_conditional_expression): Pass location of
colon to build_conditional_expr.
* c-tree.h (build_conditional_expr): Update declaration.
objc/:
* objc-act.c (objc_gimplify_expr): Change return type to int.
* objc-act.h: Update declaration.
testsuite/:
* gcc.dg/Wcxx-compat-12.c: New testcase.
From-SVN: r148325
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r-- | gcc/targhooks.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h index 42764f3..5d77ce5 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -66,12 +66,11 @@ extern bool default_fixed_point_supported_p (void); extern const char * default_invalid_within_doloop (const_rtx); -extern tree default_builtin_vectorized_function - (enum built_in_function, tree, tree); +extern tree default_builtin_vectorized_function (unsigned int, tree, tree); -extern tree default_builtin_vectorized_conversion (enum tree_code, tree); +extern tree default_builtin_vectorized_conversion (unsigned int, tree); -extern tree default_builtin_reciprocal (enum built_in_function, bool, bool); +extern tree default_builtin_reciprocal (unsigned int, bool, bool); extern bool default_builtin_vector_alignment_reachable (const_tree, bool); |