[Bug tree-optimization/83128] Unable to optimize {m,c}alloc when strings builtin are used

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 24 09:41:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83128

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Nov 24 09:40:40 2017
New Revision: 255136

URL: https://gcc.gnu.org/viewcvs?rev=255136&root=gcc&view=rev
Log:
2017-11-24  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/83128
        * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Handle STRING_CSTs.
        (vn_reference_lookup_3): Likewise.

        * gcc.dg/tree-ssa/ssa-fre-62.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-62.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-sccvn.c


More information about the Gcc-bugs mailing list