comparison gcc/config/spu/spu-c.c @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents 77e2b8dfacca
children f6334be47118
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
1 /* Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 1 /* Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
2 2
3 This file is free software; you can redistribute it and/or modify it under 3 This file is free software; you can redistribute it and/or modify it under
4 the terms of the GNU General Public License as published by the Free 4 the terms of the GNU General Public License as published by the Free
5 Software Foundation; either version 3 of the License, or (at your option) 5 Software Foundation; either version 3 of the License, or (at your option)
6 any later version. 6 any later version.
160 first argument of intrinsics which don't have a vector 160 first argument of intrinsics which don't have a vector
161 parameter. */ 161 parameter. */
162 if ((!SCALAR_TYPE_P (param_type) 162 if ((!SCALAR_TYPE_P (param_type)
163 || !SCALAR_TYPE_P (arg_type) 163 || !SCALAR_TYPE_P (arg_type)
164 || (all_scalar && p == 0)) 164 || (all_scalar && p == 0))
165 && !comptypes (TYPE_MAIN_VARIANT (param_type), 165 && !lang_hooks.types_compatible_p (param_type, arg_type))
166 TYPE_MAIN_VARIANT (arg_type)))
167 break; 166 break;
168 } 167 }
169 if (param == void_list_node) 168 if (param == void_list_node)
170 { 169 {
171 if (p != nargs) 170 if (p != nargs)