This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/69336] Constant value not detected


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

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jan 19 13:27:11 2016
New Revision: 232559

URL: https://gcc.gnu.org/viewcvs?rev=232559&root=gcc&view=rev
Log:
2016-01-19  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/69336
        * tree-ssa-scopedtables.c (avail_expr_hash): Handle all
        handled components with get_ref_base_and_extent.
        (equal_mem_array_ref_p): Adjust.

        * g++.dg/tree-ssa/pr69336.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr69336.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-scopedtables.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]