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/77855] [5 Regression] wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)


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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jan 24 08:06:29 2017
New Revision: 244853

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

        Backport from mainline
        2016-10-06  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/77855
        * tree-ssa-pre.c (prune_clobbered_mems): Queue exprs to remove
        instead of removing the current item while iterating over the set
        which is not safe.

        * gcc.dg/torture/pr77855.c: New testcase.

        2016-09-01  Richard Biener  <rguenther@suse.de>

        PR middle-end/77436
        * tree-chrec.c (tree_fold_binomial): Use widest_int, properly
        check whether the result fits the desired result type.

        * gcc.dg/torture/pr77436.c: New testcase.

        2016-09-06  Richard Biener  <rguenther@suse.de>

        PR c/77450
        c-family/
        * c-common.c (c_common_mark_addressable_vec): Handle
        COMPOUND_LITERAL_EXPR.

        * c-c++-common/vector-subscript-7.c: Adjust.
        * gcc.dg/pr77450.c: New testcase.

        2016-09-19  Richard Biener  <rguenther@suse.de>

        PR middle-end/77605
        * tree-data-ref.c (analyze_subscript_affine_affine): Use the
        proper niter to bound the loops.

        * gcc.dg/torture/pr77605.c: New testcase.

        2016-11-02  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/78047
        * tree-ssa-structalias.c (push_fields_onto_fieldstack): Initialize
        fake field at offset zero conservatively regarding to
may_have_pointers.

        2016-11-02  Richard Biener  <rguenther@suse.de>

        PR middle-end/78185
        * loop-invariant.c (find_invariant_insn): Never hoist trapping or
        faulting instructions.
        * tree-ssa-loop-im.c: Include tree-ssa-loop-niter.h.
        (fill_always_executed_in_1): Honor infinite child loops.

        * gcc.dg/pr78185.c: New testcase.

        2016-11-16  Richard Biener  <rguenther@suse.de>

        PR middle-end/78333
        * gimplify.c (gimplify_function_tree): Do not instrument
        GNU extern inline functions.

        * gcc.dg/pr78333.c: New testcase.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr77450.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr78185.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr78333.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr77436.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr77605.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr77855.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/c-family/ChangeLog
    branches/gcc-5-branch/gcc/gimplify.c
    branches/gcc-5-branch/gcc/loop-invariant.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-chrec.c
    branches/gcc-5-branch/gcc/tree-data-ref.c
    branches/gcc-5-branch/gcc/tree-ssa-loop-im.c
    branches/gcc-5-branch/gcc/tree-ssa-pre.c
    branches/gcc-5-branch/gcc/tree-ssa-structalias.c

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