On Mon, 7 Jan 2013, Jakub Jelinek wrote: > On Mon, Jan 07, 2013 at 03:06:50PM +0100, Richard Biener wrote: > > *** gcc/tree-ssa-strlen.c (revision 194970) > > --- gcc/tree-ssa-strlen.c (working copy) > > *************** adjust_last_stmt (strinfo si, gimple stm > > *** 809,818 **** > > > > if (!is_gimple_call (last.stmt)) > > return; > > ! callee = gimple_call_fndecl (last.stmt); > > ! if (callee == NULL_TREE || DECL_BUILT_IN_CLASS (callee) != > > BUILT_IN_NORMAL) > > return; > > > > switch (DECL_FUNCTION_CODE (callee)) > > { > > case BUILT_IN_MEMCPY: > > --- 809,818 ---- > > > > if (!is_gimple_call (last.stmt)) > > return; > > The above call could be dropped too, gimple_call_builtin_p checks that as > well.
Right. Fixed. Richard.