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

--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Jan  3 12:04:05 2017
New Revision: 244018

URL: https://gcc.gnu.org/viewcvs?rev=244018&root=gcc&view=rev
Log:
Fill bitregion_{start,end} in store_constructor (PR tree-optimization/78428)

2017-01-03  Martin Liska  <mli...@suse.cz>

        Backport from mainline
        2016-12-13  Martin Liska  <mli...@suse.cz>

        PR tree-optimization/78428
        * expr.c (store_constructor_field): Add new arguments to the
        function.
        (store_constructor): Set up bitregion_end and add
        gcc_unreachable to fields that have either non-constant size
        or (and) offset.
2017-01-03  Martin Liska  <mli...@suse.cz>

        Backport from mainline
        2016-12-13  Martin Liska  <mli...@suse.cz>

        PR tree-optimization/78428
        * gcc.dg/tree-ssa/pr78428.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/tree-ssa/pr78428.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/expr.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to