[Bug tree-optimization/91126] [7/8/9 regression] Incorrect constant propagation of BIT_FIELD_REF

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 31 15:41:00 GMT 2019


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

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jul 31 15:40:36 2019
New Revision: 273939

URL: https://gcc.gnu.org/viewcvs?rev=273939&root=gcc&view=rev
Log:
2019-07-31  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2019-07-19  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/91200
        * tree-ssa-phiopt.c (cond_store_replacement): Check we have
        no PHI nodes in middle-bb.

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

        2019-07-15  Richard Biener  <rguenther@suse.de>

        PR middle-end/91162
        * tree-cfg.c (move_block_to_fn): When releasing a virtual PHI
        node make sure to replace all uses with something valid.

        * gcc.dg/autopar/pr91162.c: New testcase.

        2019-07-12  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/91145
        * tree-vect-slp.c (vect_build_slp_tree_2): Fix reduction
        chain check.

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

        2019-07-11  Richard Biener  <rguenther@suse.de>

        PR middle-end/91131
        * gimplify.c (gimplify_compound_literal_expr): Force a temporary
        when the object is volatile and we have not cleared it even though
        there are no nonzero elements.

        * gcc.target/i386/pr91131.c: New testcase.

        2019-07-10  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/91126
        * tree-ssa-sccvn.c (n_walk_cb_data::push_partial_def): Adjust
        native encoding offset for BYTES_BIG_ENDIAN.
        (vn_reference_lookup_3): Likewise.

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

Added:
    branches/gcc-9-branch/gcc/testsuite/gcc.dg/autopar/pr91162.c
    branches/gcc-9-branch/gcc/testsuite/gcc.dg/torture/pr91126.c
    branches/gcc-9-branch/gcc/testsuite/gcc.dg/torture/pr91145.c
    branches/gcc-9-branch/gcc/testsuite/gcc.dg/torture/pr91200.c
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pr91131.c
Modified:
    branches/gcc-9-branch/gcc/ChangeLog
    branches/gcc-9-branch/gcc/gimplify.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog
    branches/gcc-9-branch/gcc/tree-cfg.c
    branches/gcc-9-branch/gcc/tree-ssa-phiopt.c
    branches/gcc-9-branch/gcc/tree-ssa-sccvn.c
    branches/gcc-9-branch/gcc/tree-vect-slp.c


More information about the Gcc-bugs mailing list