[Bug tree-optimization/59860] [4.8/4.9 Regression] ICE in compute_may_aliases, at tree-ssa-structalias.c:6843

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 20 18:20:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59860

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jan 20 18:19:54 2014
New Revision: 206849

URL: http://gcc.gnu.org/viewcvs?rev=206849&root=gcc&view=rev
Log:
    PR middle-end/59860
    * tree.h (fold_builtin_strcat): New prototype.
    * builtins.c (fold_builtin_strcat): No longer static.  Add len
    argument, if non-NULL, don't call c_strlen.  Optimize
    directly into __builtin_memcpy instead of __builtin_strcpy.
    (fold_builtin_2): Adjust fold_builtin_strcat caller.
    * gimple-fold.c (gimple_fold_builtin): Handle BUILT_IN_STRCAT.

Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/builtins.c
    branches/gcc-4_8-branch/gcc/gimple-fold.c
    branches/gcc-4_8-branch/gcc/tree.h



More information about the Gcc-bugs mailing list