* tree-chkp.c (chkp_build_returned_bound): Don't predict
return bounds for strchr calls.
From-SVN: r218479
+2014-12-08 Ilya Enkovich <ilya.enkovich@intel.com>
+
+ * tree-chkp.c (chkp_build_returned_bound): Don't predict
+ return bounds for strchr calls.
+
2014-12-08 Ilya Enkovich <ilya.enkovich@intel.com>
* tree-chkp.c (chkp_call_returns_bounds_p): New.
}
/* Do not use retbnd when returned bounds are equal to some
of passed bounds. */
- else if ((gimple_call_return_flags (call) & ERF_RETURNS_ARG)
- || gimple_call_builtin_p (call, BUILT_IN_STRCHR))
+ else if (gimple_call_return_flags (call) & ERF_RETURNS_ARG)
{
gimple_stmt_iterator iter = gsi_for_stmt (call);
unsigned int retarg = 0, argno;