internal-fn.c (init_internal_fns): Fix off-by-one.
2014-08-12 Yury Gribov <y.gribov@samsung.com> gcc/ * internal-fn.c (init_internal_fns): Fix off-by-one. From-SVN: r213848
This commit is contained in:
parent
537ddba3f0
commit
63a4184f75
@ -1,3 +1,7 @@
|
||||
2014-08-12 Yury Gribov <y.gribov@samsung.com>
|
||||
|
||||
* internal-fn.c (init_internal_fns): Fix off-by-one.
|
||||
|
||||
2014-08-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
|
||||
Maxim Kuznetsov <maxim.kuznetsov@intel.com>
|
||||
Anna Tikhonova <anna.tikhonova@intel.com>
|
||||
|
@ -62,7 +62,7 @@ init_internal_fns ()
|
||||
{
|
||||
#define DEF_INTERNAL_FN(CODE, FLAGS, FNSPEC) \
|
||||
if (FNSPEC) internal_fn_fnspec_array[IFN_##CODE] = \
|
||||
build_string ((int) sizeof (FNSPEC) + 1, FNSPEC ? FNSPEC : "");
|
||||
build_string ((int) sizeof (FNSPEC), FNSPEC ? FNSPEC : "");
|
||||
#include "internal-fn.def"
|
||||
#undef DEF_INTERNAL_FN
|
||||
internal_fn_fnspec_array[IFN_LAST] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user