* omp-low.c (simd_clone_struct_copy): If from->inbranch
is set, copy one less argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207461
138bc75d-0d04-0410-961f-
82ee72b054a4
2014-02-04 Jakub Jelinek <jakub@redhat.com>
+ PR other/58712
+ * omp-low.c (simd_clone_struct_copy): If from->inbranch
+ is set, copy one less argument.
+
PR rtl-optimization/57915
* recog.c (simplify_while_replacing): If all unary/binary/relational
operation arguments are constant, attempt to simplify those.
struct cgraph_simd_clone *from)
{
memcpy (to, from, (sizeof (struct cgraph_simd_clone)
- + from->nargs * sizeof (struct cgraph_simd_clone_arg)));
+ + ((from->nargs - from->inbranch)
+ * sizeof (struct cgraph_simd_clone_arg))));
}
/* Return vector of parameter types of function FNDECL. This uses