Commit 86866b28 by Ulrich Weigand Committed by Ulrich Weigand

spu-c.c (spu_resolve_overloaded_builtin): Call lang_hooks.types_compatible_p instead of comptypes.

	* config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call
	lang_hooks.types_compatible_p instead of comptypes.

From-SVN: r156873
parent 7890246f
2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call
lang_hooks.types_compatible_p instead of comptypes.
2010-02-18 Sebastian Huber <sebastian.huber@embedded-brains.de> 2010-02-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* config/arm/lib1funcs.asm (__prefer_thumb__): New define. * config/arm/lib1funcs.asm (__prefer_thumb__): New define.
......
...@@ -162,8 +162,7 @@ spu_resolve_overloaded_builtin (location_t loc, tree fndecl, void *passed_args) ...@@ -162,8 +162,7 @@ spu_resolve_overloaded_builtin (location_t loc, tree fndecl, void *passed_args)
if ((!SCALAR_TYPE_P (param_type) if ((!SCALAR_TYPE_P (param_type)
|| !SCALAR_TYPE_P (arg_type) || !SCALAR_TYPE_P (arg_type)
|| (all_scalar && p == 0)) || (all_scalar && p == 0))
&& !comptypes (TYPE_MAIN_VARIANT (param_type), && !lang_hooks.types_compatible_p (param_type, arg_type))
TYPE_MAIN_VARIANT (arg_type)))
break; break;
} }
if (param == void_list_node) if (param == void_list_node)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment