re PR tree-optimization/14819 ([tree-ssa] strchr is not folded at tree-level)
authorSteven Bosscher <stevenb@suse.de>
Sun, 30 May 2004 21:05:20 +0000 (21:05 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 30 May 2004 21:05:20 +0000 (21:05 +0000)
commitb3dd9f3535b30fb5ec664f16aa527bffddf58c6c
treeb84404b76d9b1fd31876be3c25bee7382aa54383
parent9cf737f89ffe0c75614ad388440b7b7706b6316b
re PR tree-optimization/14819 ([tree-ssa] strchr is not folded at tree-level)

PR tree-optimization/14819
* builtins.c (fold_builtin_strchr): New.
(fold_builtin_1): Handle BUILT_IN_STRCHR and BUILT_IN_STRRCHR
with fold_builtin_strchr().

From-SVN: r82464
gcc/ChangeLog
gcc/builtins.c