http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55890
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-07 15:34:48 UTC --- Author: rguenth Date: Mon Jan 7 15:34:43 2013 New Revision: 194975 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194975 Log: 2013-01-07 Richard Biener <rguent...@suse.de> PR middle-end/55890 * gimple.h (gimple_call_builtin_p): New overload. * gimple.c (validate_call): New function. (gimple_call_builtin_p): Likewise. * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Use gimple_call_builtin_p. (find_func_clobbers): Likewise. * tree-ssa-strlen.c (adjust_last_stmt): Likewise. (strlen_optimize_stmt): Likewise. * gcc.dg/torture/pr55890-1.c: New testcase. * gcc.dg/torture/pr55890-2.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/torture/pr55890-1.c trunk/gcc/testsuite/gcc.dg/torture/pr55890-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple.c trunk/gcc/gimple.h trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-strlen.c trunk/gcc/tree-ssa-structalias.c