From: uweigand Date: Thu, 18 Feb 2010 19:53:02 +0000 (+0000) Subject: * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=e8a6252b8743be15515ad2807ca4d064f41f2056 * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call lang_hooks.types_compatible_p instead of comptypes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156873 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e483f91c386..64ca85353cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-02-18 Ulrich Weigand + + * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call + lang_hooks.types_compatible_p instead of comptypes. + 2010-02-18 Sebastian Huber * config/arm/lib1funcs.asm (__prefer_thumb__): New define. diff --git a/gcc/config/spu/spu-c.c b/gcc/config/spu/spu-c.c index 380af402c48..f10a62f17d7 100644 --- a/gcc/config/spu/spu-c.c +++ b/gcc/config/spu/spu-c.c @@ -162,8 +162,7 @@ spu_resolve_overloaded_builtin (location_t loc, tree fndecl, void *passed_args) if ((!SCALAR_TYPE_P (param_type) || !SCALAR_TYPE_P (arg_type) || (all_scalar && p == 0)) - && !comptypes (TYPE_MAIN_VARIANT (param_type), - TYPE_MAIN_VARIANT (arg_type))) + && !lang_hooks.types_compatible_p (param_type, arg_type)) break; } if (param == void_list_node)